pricefx
Modules
pricefx
pricefx.oasModule pricefx
API
ballerinax/pricefx Ballerina library
Overview
Pricefx is a cloud-native pricing and revenue management platform that helps enterprises manage price lists, calculation grids, quotes, contracts, and rebate agreements across their sales organization.
The ballerinax/pricefx connector offers APIs to connect and interact with the Pricefx Backend API, covering all 477 publicly exposed operations across master data (products, customers, sellers), pricing (price lists, manual price lists, calculation grids, condition records), sales (quotes, contracts, rebates, sales compensations), and platform administration (users, workflow, data manager, notifications, comments, custom forms, and more).
Setup guide
Authentication goes in ConnectionConfig.auth, typed as pricefx:PricefxCredentials — a union of
four records, one per method. You pick the record matching the credentials you hold, and the
compiler holds you to it: an incomplete or mixed-up combination will not compile.
BasicCredentials—username,password,partition. The connector authenticates once with HTTP Basic auth and then reuses theX-PriceFx-jwtsession token Pricefx hands back, so the deliberate ~500 ms penalty Pricefx applies to Basic auth is paid once per client rather than on every request. If a deployment returns no session token, it falls back to Basic auth per request.OAuth2Credentials—clientId,refreshToken, and optionallyclientSecret. The refresh token must be obtained once beforehand through Pricefx's Authorization Code Grant flow, which needs an interactive browser redirect and so can't be automated by this connector. Once you have one, access tokens are fetched and renewed automatically.JwtCredentials—jwt. Sent as-is viaX-PriceFx-jwt, with nothing exchanged, so creating the client makes no network call. This is the option for the non-expiring integration tokens minted bygenerateJwtToken. The connector cannot refresh a token supplied this way (it holds no credentials to re-authenticate with), which is fine for a non-expiring token but not for a short-lived session one.ExternalJwtCredentials—systemName,jwt, if your organization has a trust relationship configured on the Pricefx side (externalJWTConfiguration) with an external system that signs JWTs on your behalf.
Anything Pricefx needs that is not authentication — a two-factor code (PriceFx-TFA), a CSRF token
(X-PriceFx-Csrf-Token), or a header a specific endpoint expects — is passed per call, since every
operation takes an optional headers argument:
oas:ListPriceListsResponse result = check pricefxClient->listPriceLists({}, {"PriceFx-TFA": "123456"});
There is deliberately no configuration field for a two-factor code: it expires in about thirty
seconds, so it cannot usefully live in configuration, and the connector has no way to regenerate
one. Interactive two-factor auth does not really suit unattended integrations anyway — prefer
JwtCredentials or OAuth 2.0 there.
The connector automatically re-authenticates and retries once whenever a request comes back
unauthenticated (session tokens and OAuth2 access tokens are short-lived), so a long-lived
pricefx:Client instance keeps working without manual re-initialization.
Quickstart
To use the pricefx connector in your Ballerina application, update the .bal file as follows:
Step 1: Import the module
import ballerina/io; import ballerinax/pricefx; import ballerinax/pricefx.oas;
Step 2: Instantiate a new connector
-
Create a
Config.tomlfile with your Pricefx credentials:username = "<your-pricefx-username>" password = "<your-pricefx-password>" partition = "<your-partition>" serviceUrl = "https://<your-node>.pricefx.com/pricefx/<your-partition>" -
Create a
pricefx:Clientinstance:configurable string username = ?; configurable string password = ?; configurable string partition = ?; configurable string serviceUrl = ?; final pricefx:Client pricefxClient = check new ({auth: {username, password, partition}}, serviceUrl);Constructing the client makes one Basic authenticated call to obtain a session token; every request after that uses the token. To use a different method, supply its record as
authinstead — see the setup guide above. For example, with a non-expiring integration JWT:final pricefx:Client pricefxClient = check new ({auth: {jwt}}, serviceUrl);
Step 3: Invoke the connector operation
Now, utilize the available connector operations.
List all price lists
public function main() returns error? { oas:ListPriceListsRequest payload = {}; oas:ListPriceListsResponse response = check pricefxClient->listPriceLists(payload); io:println(response); }
Step 4: Run the Ballerina application
bal run
Examples
The Pricefx connector provides practical examples illustrating usage in various scenarios. Explore these examples, covering the following use cases:
- Product catalog management — Add a new product to the catalog, update one of its fields, then list matching products to confirm the change.
- Customer quote workflow — Add a new customer, create a quote for them, then submit the quote for approval.
- Price list calculation — Create a new price list, run its calculation, then fetch the calculated price list.
- Attachment upload workflow — Create an upload slot for a customer record, upload a file to it, then list the customer's files.
Build from the source
Setting up the prerequisites
-
Download and install Java SE Development Kit (JDK) version 21. You can download it from either of the following sources:
Note: After installation, remember to set the
JAVA_HOMEenvironment variable to the directory where JDK was installed. -
Download and install Ballerina Swan Lake.
-
Download and install Docker.
Note: Ensure that the Docker daemon is running before executing any tests.
-
Export Github Personal access token with read package permissions as follows,
export packageUser=<Username> export packagePAT=<Personal access token>
Build options
Execute the commands below to build from the source.
-
To build the package:
./gradlew clean build -
To run the tests:
./gradlew clean test -
To build the without the tests:
./gradlew clean build -x test -
To run tests against different environments:
./gradlew clean test -Pgroups=<Comma separated groups/test cases> -
To debug the package with a remote debugger:
./gradlew clean build -Pdebug=<port> -
To debug with the Ballerina language:
./gradlew clean build -PbalJavaDebug=<port> -
Publish the generated artifacts to the local Ballerina Central repository:
./gradlew clean build -PpublishToLocalCentral=true -
Publish the generated artifacts to the Ballerina Central repository:
./gradlew clean build -PpublishToCentral=true
Contribute to Ballerina
As an open-source project, Ballerina welcomes contributions from the community.
For more information, go to the contribution guidelines.
Code of conduct
All the contributors are encouraged to read the Ballerina Code of Conduct.
Useful links
- For more information go to the
pricefxpackage. - For example demonstrations of the usage, go to Ballerina By Examples.
- Chat live with us via our Discord server.
- Post all technical questions on Stack Overflow with the #ballerina tag.
Clients
pricefx: Client
The ballerinax/pricefx client. Wraps the generated oas client - kept as pristine,
regeneratable code in the oas submodule - and adds the two things Pricefx's API needs that a
generated client cannot provide: turning PricefxCredentials into the right kind of HTTP auth,
and transparently re-authenticating and replaying a request once when it comes back
unauthenticated. Session tokens and OAuth2 access tokens are short-lived, so that retry is what
lets a long-lived client instance keep working without manual re-initialization.
Constructor
Gets invoked to initialize the connector.
init (ConnectionConfig config, string serviceUrl)- config ConnectionConfig - The configurations to be used when initializing the
connector.config.authselects the authentication method - seePricefxCredentials
- serviceUrl string "https://companynode.pricefx.com/pricefx/companypartition" - URL of the target service
acceptCalculationGridItem
function acceptCalculationGridItem(string id, SubmitCalculationGridItemRequest payload, map<string|string[]> headers) returns SubmitCalculationGridItemResponse|errorSubmit a Calculation Grid Item
Parameters
- id string - The
idof the Calculation Grid you want to submit items for. You can retrieve theidof the CG, for example, by calling the/fetch/CGendpoint
- payload SubmitCalculationGridItemRequest - Request payload
Return Type
addActionType
function addActionType(AddActionTypeRequest payload, map<string|string[]> headers) returns AddActionTypeResponse|errorAdd an Action Type
Parameters
- payload AddActionTypeRequest - Request payload
Return Type
addApproverStep
function addApproverStep(string currentStepId, AddApproverStepRequest payload, map<string|string[]> headers) returns AddApproverStepResponse|errorAdd an Approver Step
Parameters
- currentStepId string - The ID of the workflow step. It can be retrieved using the
/workflowsmanager.fetch/active(List Pending Approvals) endpoint
- payload AddApproverStepRequest - Request payload
Return Type
addCalculation
function addCalculation(AddCalculationRequest payload, map<string|string[]> headers) returns AddCalculationResponse|errorAdd a Calculation
Parameters
- payload AddCalculationRequest - Request payload
Return Type
addCalculationGrid
function addCalculationGrid(AddCalculationGridRequest payload, map<string|string[]> headers) returns AddCalculationGridResponse|errorAdd a Calculation Grid
Parameters
- payload AddCalculationGridRequest - Request payload
Return Type
addCalculationGridItem
function addCalculationGridItem("1"|"2"|"3"|"4"|"5"|"6" keyNumber, AddCalculationGridItemRequest payload, map<string|string[]> headers) returns AddCalculationGridItemResponse|errorAdd a Calculation Grid Item
Parameters
- keyNumber "1"|"2"|"3"|"4"|"5"|"6" - Use CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
- payload AddCalculationGridItemRequest - Request payload
Return Type
addClaim
function addClaim(AddClaimRequest payload, map<string|string[]> headers) returns AddClaimResponse|errorAdd a Claim
Parameters
- payload AddClaimRequest - Request payload
Return Type
- AddClaimResponse|error - OK
addClaimType
function addClaimType(AddClaimTypeRequest payload, map<string|string[]> headers) returns AddClaimTypeResponse|errorAdd a Claim Type
Parameters
- payload AddClaimTypeRequest - Request payload
Return Type
addComment
function addComment(CommentmanagerAddBody payload, map<string|string[]> headers) returns CommentOperationEnvelope|errorAdd a Comment
Parameters
- payload CommentmanagerAddBody - Request payload
Return Type
addCompensationType
function addCompensationType(AddCompensationTypeRequest payload, map<string|string[]> headers) returns AddCompensationTypeEnvelope|errorAdd a Compensation Type
Parameters
- payload AddCompensationTypeRequest - Request payload
Return Type
addConditionRecordItemMeta
function addConditionRecordItemMeta(AddCRCIMBody payload, map<string|string[]> headers) returns ConditionRecordItemMetaOperationEnvelope|errorAdd a Condition Record Item Attribute Meta
Parameters
- payload AddCRCIMBody - Request payload
Return Type
addConditionRecordSet
function addConditionRecordSet(AddCRCSBody payload, map<string|string[]> headers) returns ConditionRecordSetOperationEnvelope|errorAdd a Condition Record Set
Parameters
- payload AddCRCSBody - Request payload
Return Type
addConditionType
function addConditionType(AddConditionTypeRequest payload, map<string|string[]> headers) returns AddConditionTypeEnvelope|errorAdd a Condition Type
Parameters
- payload AddConditionTypeRequest -
Return Type
addConfigurationStorage
function addConfigurationStorage(AddJCSBody payload, map<string|string[]> headers) returns ConfigurationStorageOperationEnvelope|errorAdd a Configuration Storage
Parameters
- payload AddJCSBody - Request payload
Return Type
addContractLineItems
function addContractLineItems(AddContractLineItemsRequest payload, map<string|string[]> headers) returns ContractModelResponse|errorAdd Contract Line Items
Parameters
- payload AddContractLineItemsRequest - Request payload
Return Type
- ContractModelResponse|error - Example response
addCustomer
function addCustomer(AddCustomerRequest payload, map<string|string[]> headers) returns CustomerResponse|errorAdd a Customer
Parameters
- payload AddCustomerRequest - Request payload
Return Type
- CustomerResponse|error - Returns customer record details
addDataChangeRequest
function addDataChangeRequest(AddDCRRequest payload, map<string|string[]> headers) returns AddDCRResponse|errorAdd a Data Change Request
Parameters
- payload AddDCRRequest - Request payload
Return Type
- AddDCRResponse|error - OK
addDataChangeRequestItem
function addDataChangeRequestItem(string id, AddDCRIRequest payload, map<string|string[]> headers) returns AddDCRIResponse|errorAdd a Data Change Request Item
Parameters
- id string -
idof the Data Change Request you want to add the Data Change Request Item to
- payload AddDCRIRequest - Request payload
Return Type
- AddDCRIResponse|error - OK
addLineItems
function addLineItems(string typedId, ClicmanagerAdditemstypedIdBody payload, map<string|string[]> headers) returns record {}|errorAdd Line Items
Parameters
- typedId string - typed ID of the target CLIC document
- payload ClicmanagerAdditemstypedIdBody - Request payload
Return Type
- record {}|error - OK
addLivePriceGridType
function addLivePriceGridType(AddPGTTBody payload, map<string|string[]> headers) returns LivePriceGridTypeOperationEnvelope|errorAdd a Live Price Grid Type
Parameters
- payload AddPGTTBody - Request payload
Return Type
addLookupTable
function addLookupTable(AddLookupTableRequest payload, map<string|string[]> headers) returns AddLookupTableResponse|errorAdd a Lookup Table
Parameters
- payload AddLookupTableRequest - The request must contain all fields that are part of the business key for that object and all non-nullable fields
Return Type
addLookupTableValue
function addLookupTableValue(string tableId, AddLookupTableValueRequest payload, map<string|string[]> headers) returns AddLookupTableValueResponse|errorAdd a Lookup Table Value
Parameters
- tableId string - Enter the ID of the table. The ID can be retrieved using the
/lookuptablemanager.fetchmethod
- payload AddLookupTableValueRequest - Request payload
Return Type
addManualPriceListProducts
function addManualPriceListProducts(string id, AddProductsToManualPriceListRequest payload, map<string|string[]> headers) returns GenericDataResponse|errorAdd Products to a Manual Pricelist
Parameters
- id string - The ID of the Manual Price List where you want to add products to
- payload AddProductsToManualPriceListRequest - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
addManualPriceListProductsNoRecalc
function addManualPriceListProductsNoRecalc(string id, AddProductsToManualPriceListNoRecalcRequest payload, map<string|string[]> headers) returns AddProductsToManualPriceListNoRecalcResponse|errorAdd Products to a Manual Price List (No Recalculation)
Parameters
- id string - The ID of the Manual Price List where you want to add products to
- payload AddProductsToManualPriceListNoRecalcRequest - Request payload
Return Type
addNewInternationalizationMessage
function addNewInternationalizationMessage(I18nmanagerPutBody payload, map<string|string[]> headers) returns AddInternationalizationMessageEnvelope|errorAdd a New Internationalization Message
Parameters
- payload I18nmanagerPutBody -
Return Type
- AddInternationalizationMessageEnvelope|error - Created - the new internationalization messages have been added
addPriceGridItemsToPriceGrid
function addPriceGridItemsToPriceGrid(string id, AddPriceGridItemsRequest payload, map<string|string[]> headers) returns AddPriceGridItemsToPriceGridResponse|errorAdd Price Grid Items to a Price Grid
Parameters
- id string - The ID of the Live Price Grid where you want to add Price Grid Items to.
idis thetypedIdwithout PG suffix. For example, theidattribute of the item withtypedId= 649.PG is 649. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
- payload AddPriceGridItemsRequest - Request payload
Return Type
addPriceListType
function addPriceListType(AddPLTTBody payload, map<string|string[]> headers) returns PriceListTypeOperationEnvelope|errorAdd a Price List Type
Parameters
- payload AddPLTTBody -
Return Type
addProduct
function addProduct(AddProductRequest payload, map<string|string[]> headers) returns ProductResponse|errorAdd a Product
Parameters
- payload AddProductRequest - Request payload
Return Type
- ProductResponse|error - Returns full record details
addQuoteProducts
function addQuoteProducts(AddProductsToQuoteRequest payload, map<string|string[]> headers) returns QuoteResponse|errorAdd Products to a Quote
Parameters
- payload AddProductsToQuoteRequest - Request payload
Return Type
- QuoteResponse|error - Example response
addRebateAgreementItems
function addRebateAgreementItems(GetCustomerRequest payload, map<string|string[]> headers) returns RebateAgreementResponse|errorAdd Rebate Agreement Items
Parameters
- payload GetCustomerRequest - Request payload
Return Type
- RebateAgreementResponse|error - Example response
addRebateCalculation
function addRebateCalculation(AddRRSCBody payload, map<string|string[]> headers) returns AddRebateCalculationResponse|errorAdd a Rebate Calculation
Parameters
- payload AddRRSCBody - Request payload
Return Type
addSeller
function addSeller(AddSellerRequest payload, map<string|string[]> headers) returns AddSellerEnvelope|errorAdd a Seller
Parameters
- payload AddSellerRequest - Request payload
Return Type
- AddSellerEnvelope|error - OK
addSellerExtension
function addSellerExtension(AddSellerExtensionRequest payload, map<string|string[]> headers) returns AddSellerExtensionResponse|errorAdd a Seller Extension
Parameters
- payload AddSellerExtensionRequest - Request payload
Return Type
addUser
function addUser(AddUserRequest payload, map<string|string[]> headers) returns UserResponse|errorAdd a User
Parameters
- payload AddUserRequest - Request payload
Return Type
- UserResponse|error - Example response
addWatcherStep
function addWatcherStep(string currentStepId, AddWatcherStepRequest payload, map<string|string[]> headers) returns AddWatcherStepResponse|errorAdd a Watcher Step
Parameters
- currentStepId string - The ID of the workflow step. It can be retrieved using the
/workflowsmanager.fetch/active(List Pending Approvals) endpoint
- payload AddWatcherStepRequest - Request payload
Return Type
approveDocument
function approveDocument(string currentStepId, ApproveDocumentRequest payload, map<string|string[]> headers) returns ApproveDocumentResponse|errorApprove a Document
Parameters
- currentStepId string - The ID of the workflow step. It can be retrieved using the
/workflowsmanager.fetch/active(List Pending Approvals) endpoint
- payload ApproveDocumentRequest - Request payload
Return Type
assignBusinessRole
function assignBusinessRole(AssignBusinessRoleRequest payload, map<string|string[]> headers) returns AssignBusinessRoleResponse|errorAssign a Business Role
Parameters
- payload AssignBusinessRoleRequest - Request payload
Return Type
assignBusinessRoleToUser
function assignBusinessRoleToUser(string userId, AssignBusinessRoleToUserRequest payload, map<string|string[]> headers) returns AssignBusinessRoleToUserResponse|errorAssign a Business Role to a User
Parameters
- userId string - The ID of the user you want to assign a role to. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
- payload AssignBusinessRoleToUserRequest - Request payload
Return Type
assignCustomers
function assignCustomers(AssignCustomersRequest payload, map<string|string[]> headers) returns AssignmentResponse|errorAssign Customers
Parameters
- payload AssignCustomersRequest - Request payload
Return Type
- AssignmentResponse|error - Example response
assignGroupToBusinessRole
function assignGroupToBusinessRole(AssignGroupToBusinessRoleRequest payload, map<string|string[]> headers) returns AssignGroupToBusinessRoleResponse|errorAssign a Group to a Business Role
Parameters
- payload AssignGroupToBusinessRoleRequest - Request payload
Return Type
assignRoleToBusinessRole
function assignRoleToBusinessRole(AssignRoleToBusinessRoleRequest payload, map<string|string[]> headers) returns AssignRoleToBusinessRoleResponse|errorAssign a Role to a Business Role
Parameters
- payload AssignRoleToBusinessRoleRequest - Request payload
Return Type
assignRoleToUser
function assignRoleToUser(string userId, AssignRoleToUserRequest payload, map<string|string[]> headers) returns AssignRoleToUserResponse|errorAssign a Role to a User
Parameters
- userId string - The ID of the user you want to assign a role to. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
- payload AssignRoleToUserRequest - Request payload
Return Type
assignRoleToUsers
function assignRoleToUsers(AssignRoleToUsersRequest payload, map<string|string[]> headers) returns AssignRoleToUsersResponse|errorAssign a Role to Users
Parameters
- payload AssignRoleToUsersRequest - Request payload
Return Type
assignUserGroupToUsers
function assignUserGroupToUsers(AssignUserGroupToUsersRequest payload, map<string|string[]> headers) returns AssignUserGroupToUsersResponse|errorAssign a User Group to Users
Parameters
- payload AssignUserGroupToUsersRequest - Request payload
Return Type
assignUserToUserGroup
function assignUserToUserGroup(string userId, AssignUserToUserGroupRequest payload, map<string|string[]> headers) returns AssignUserToUserGroupResponse|errorAssign a User to a User Group
Parameters
- userId string - The ID of the user you want to add to the group. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
- payload AssignUserToUserGroupRequest - Request payload
Return Type
bulkInsertCustomers
function bulkInsertCustomers(InsertBulkCustomersRequest payload, map<string|string[]> headers) returns LoadDataResponse|errorInsert Bulk Customers
Parameters
- payload InsertBulkCustomersRequest - Specify customer field names in the
headerobject and fields values in thedataobject.<p>
Return Type
- LoadDataResponse|error - Returns the number of inserted or updated objects
bulkInsertProducts
function bulkInsertProducts(InsertBulkProductsRequest payload, map<string|string[]> headers) returns LoadDataResponse|errorInsert Bulk Products
Parameters
- payload InsertBulkProductsRequest - Specify product field names in the
headerobject and fields values in thedataobject.<p>
Return Type
- LoadDataResponse|error - Returns the number of inserted or updated objects
calculateCalculationGrid
function calculateCalculationGrid(string id, CalculateCalculationGridRequest payload, map<string|string[]> headers) returns CalculateCalculationGridResponse|errorCalculate a Calculation Grid
Parameters
- id string -
idof the Calculation Grid you want to calculate
- payload CalculateCalculationGridRequest - Request payload
Return Type
calculateCfs
Calculate a CFS
Parameters
- id string - The
idis thetypedIdwithout the type suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
Return Type
calculateClaim
function calculateClaim(string typedId, CalculateClaimRequest payload, map<string|string[]> headers) returns CalculateClaimResponse|errorCalculate a Claim
Parameters
- typedId string - The
typedIdof the claim whose items you want to calculate
- payload CalculateClaimRequest - Request payload
Return Type
calculateManualPriceList
function calculateManualPriceList(string id, map<string|string[]> headers) returns CalculateManualPriceListResponse|errorCalculate a Manual Price List
Parameters
- id string - The ID of the Manual Price List you want to start the calculation for
Return Type
calculateModelObjectStep
function calculateModelObjectStep(string typedId, "definition"|"configuration"|"results"|"projections"|"parallel" stepName, map<string|string[]> headers, *CalculateModelObjectStepQueries queries) returns ModelCalculationStepEnvelope|errorCalculate a Model Object Step
Parameters
- typedId string - The
typedIdof the Model Object you want to recalculate the step for
- stepName "definition"|"configuration"|"results"|"projections"|"parallel" - Enter the name of the step you want to calculate
- queries *CalculateModelObjectStepQueries - Queries to be sent with the request
Return Type
calculatePriceGrid
function calculatePriceGrid(string id, map<string|string[]> headers) returns CalculatePriceGridResponse|errorCalculate a Price Grid
Parameters
- id string - The id to be sent with the request
Return Type
calculatePriceList
function calculatePriceList(string id, PricelistmanagerCalculateidBody payload, map<string|string[]> headers) returns CalculatePricelistResponse|errorCalculate a Pricelist
Parameters
- id string - The ID of the Price List you want to calculate. The
idis thetypedIdwithout the suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
- payload PricelistmanagerCalculateidBody - Request payload
Return Type
calculateRebateRecordGroup
function calculateRebateRecordGroup(string typedId, RebaterecordgroupCalculatetypedIdBody payload, map<string|string[]> headers) returns CalculateRebateRecordGroupEnvelope|errorCalculate a Rebate Record Group
Parameters
- typedId string -
typedIdof the Rebate Record Group you want to calculate
- payload RebaterecordgroupCalculatetypedIdBody - Request payload
Return Type
cancelCalculationStep
function cancelCalculationStep(string typedId, string stepName, map<string|string[]> headers) returns JobStatusTrackerResponse|errorCancel a Calculation Step
Parameters
- typedId string - The
typedIdof the Model Object you want to cancel the calculation step for
- stepName string - The name of the step you want to cancel
Return Type
- JobStatusTrackerResponse|error - Example response
cancelCfsCalculation
function cancelCfsCalculation(string id, map<string|string[]> headers) returns GenericDataResponse|errorCancel a CFS Calculation
Parameters
- id string - The
idis thetypedIdwithout the type suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
cancelClaimCalculation
function cancelClaimCalculation(string typedId, record {} payload, map<string|string[]> headers) returns CancelClaimCalculationResponse|errorCancel a Calculation
Parameters
- typedId string - The
typedIdof the claim whose item calculation you want to cancel
- payload record {} - Request payload
Return Type
cancelJob
function cancelJob(string id, record {} payload, map<string|string[]> headers) returns GenericDataResponse|errorCancel a Job
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
cancelPriceGridCalculation
function cancelPriceGridCalculation(string id, map<string|string[]> headers) returns CancelCalculationResponse|errorCancel a Calculation
Parameters
- id string - The ID of the Live Price Grid whose running calculation should be cancelled
Return Type
changeCurrentUserPassword
function changeCurrentUserPassword(ChangeCurrentUserPasswordRequest payload, map<string|string[]> headers) returns ChangeCurrentUserPasswordResponse|errorChange a Current User Password
Parameters
- payload ChangeCurrentUserPasswordRequest - Request payload
Return Type
changeCustomFormStatus
function changeCustomFormStatus(string typedId, ChangeCustomFormStatusRequest payload, map<string|string[]> headers) returns ChangeCustomFormStatusResponse|errorChange a Custom Form Status
Parameters
- typedId string - The
typedIdof the Custom Form whose status you want to change
- payload ChangeCustomFormStatusRequest - Request payload
Return Type
changeTermsOfUse
function changeTermsOfUse(AccountmanagerChangetermsofuseBody payload, map<string|string[]> headers) returns Response|errorChange Terms of Use
Parameters
- payload AccountmanagerChangetermsofuseBody - Request payload
Deprecated
changeUserPassword
function changeUserPassword(string userId, ChangeUserPasswordRequest payload, map<string|string[]> headers) returns ChangeUserPasswordResponse|errorChange a User Password
Parameters
- userId string - Enter the ID of the user whose password you want to change. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
- payload ChangeUserPasswordRequest - Request payload
Return Type
checkFileExists
function checkFileExists(string binaryDataId, map<string|string[]> headers) returns CheckFileExistsEnvelope|errorCheck a File
Parameters
- binaryDataId string - If the
typedIdis, for example, 1145.BD then the binaryDataId is 1145
Return Type
convertQuoteToDeal
function convertQuoteToDeal(string identifier, map<string|string[]> headers) returns QuoteResponse|errorConvert to a Deal
Parameters
- identifier string - Can be either the
uniqueNameor thetypedId
Return Type
- QuoteResponse|error - Example response
convertToPriceList
function convertToPriceList(string id, map<string|string[]> headers) returns ConvertPriceListResponse|errorConvert to Price List
Parameters
- id string - The id to be sent with the request
Return Type
copyLogic
Copy a Logic
Parameters
- id string - The ID of the logic. you want to copy. The
idis thetypedIdwithout the F suffix. For example, theidattribute of the item withtypedId= 2147484837.F is 2147484837
Return Type
- CopyLogicResponse|error - OK
copyLookupTable
function copyLookupTable(string tableId, map<string|string[]> headers) returns CopyLookupTableResponse|errorCopy a Lookup Table
Parameters
- tableId string - Enter the ID of the table you want to copy
Return Type
copyManualPriceList
function copyManualPriceList(string id, map<string|string[]> headers) returns ManualPriceListResponse|errorCopy a Manual Price List
Parameters
- id string - The ID of the Manual Price List you want to copy
Return Type
- ManualPriceListResponse|error - Example response
copyPriceGrid
Copy a Price Grid
Parameters
- id string - The
idof the Live Price Grid you want to copy. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
Return Type
copyQuote
function copyQuote(string typedId, record {} payload, map<string|string[]> headers) returns CopyQuoteEnvelope|errorCopy a Quote
Parameters
- typedId string - The typedId to be sent with the request
- payload record {} - Request payload
Return Type
- CopyQuoteEnvelope|error - OK
copyRoles
function copyRoles(CopyRolesRequest payload, map<string|string[]> headers) returns CopyRolesResponse|errorCopy Roles
Parameters
- payload CopyRolesRequest -
Return Type
- CopyRolesResponse|error - OK
copyUser
Copy a User
Parameters
- userid string - The ID of the user you want to copy. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
Return Type
- CopyUserResponse|error - OK
countKeys
Count Keys
Parameters
- tableName string - The table to count keys from
Return Type
- error? - OK - the number of keys
countMassActionItems
function countMassActionItems(string id, CountMassActionItemsRequest payload, map<string|string[]> headers) returns CountMassActionItemsResponse|errorCount Mass Action Items
Parameters
- id string - The id to be sent with the request
- payload CountMassActionItemsRequest - Request payload
Return Type
createActionItem
function createActionItem(AddActionItemRequest payload, map<string|string[]> headers) returns AddActionItemResponse|errorCreate an Action Item
Parameters
- payload AddActionItemRequest -
Return Type
createClic
function createClic("Q"|"QTMP" typeCode, ClicmanagerCreateTypeCodeBody payload, map<string|string[]> headers) returns ClicOperationEnvelope|errorCreate a Quote
Parameters
- typeCode "Q"|"QTMP" - Enter the type code of the entity you want to create
- payload ClicmanagerCreateTypeCodeBody - Request payload
Return Type
createCustomForm
function createCustomForm(CreateCustomFormRequest payload, map<string|string[]> headers) returns CreateCustomFormEnvelope|errorCreate a Custom Form
Parameters
- payload CreateCustomFormRequest -
Return Type
createCustomFormRevision
function createCustomFormRevision(string typedId, record {} payload, map<string|string[]> headers) returns CustomFormRevisionEnvelope|errorCreate a Custom Form Revision
Parameters
- typedId string -
typedIdof the Custom Form you want to create a revision from
- payload record {} - Request payload
Return Type
createCustomFormType
function createCustomFormType(CreateCustomFormTypeRequest payload, map<string|string[]> headers) returns CreateCustomFormTypeResponse|errorCreate a Custom Form Type
Parameters
- payload CreateCustomFormTypeRequest - Request payload
Return Type
createDMFieldCollection
function createDMFieldCollection("DMDS"|"DMT" fcType, DatamartCreatefcfcTypeBody payload, map<string|string[]> headers) returns error?Create a DMFieldCollection
Parameters
- fcType "DMDS"|"DMT" - The type of FC (FieldCollection) you want to create
- payload DatamartCreatefcfcTypeBody - Request payload
Return Type
- error? - OK
createDataManagerEntity
function createDataManagerEntity("DMF"|"DM"|"DMDS" typeCode, CreateDataManagerEntityRequest payload, map<string|string[]> headers) returns DmObjectResponse|errorCreate a Data Manager Entity
Parameters
- typeCode "DMF"|"DM"|"DMDS" - The type code of the Field Collection you want to update
- payload CreateDataManagerEntityRequest - Either
uniqueNameortypedIdmust be provided in the request
Return Type
- DmObjectResponse|error - Example response
createKvTable
function createKvTable(string tableName, CreateKVTableRequest payload, map<string|string[]> headers) returns GenericDataResponse|errorCreate a KV Table
Parameters
- tableName string - A name of the table you want create. Only lower case letters, numbers and underscores are allowed. Do not use special characters
- payload CreateKVTableRequest - The sample request creates a table with four columns: sku, customer, record and payload (TEXT).<br>
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
createManualPriceList
function createManualPriceList(CreateManualPriceListRequest payload, map<string|string[]> headers) returns ManualPriceListResponse|errorCreate a Manual Price List
Parameters
- payload CreateManualPriceListRequest - Request payload
Return Type
- ManualPriceListResponse|error - Example response
createObject
function createObject(string typeCode, CreateObjectRequest_1 payload, map<string|string[]> headers) returns error?Create an Object
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- payload CreateObjectRequest_1 - Request payload
Return Type
- error? - OK
createPriceList
function createPriceList(CreatePriceListRequest payload, map<string|string[]> headers) returns CreatePriceListResponse|errorCreate a Price List
Parameters
- payload CreatePriceListRequest - Request payload
Return Type
createPriceListRevision
function createPriceListRevision(string id, CreateRevisionRequest payload, map<string|string[]> headers) returns PriceListItemResponse|errorCreate a Revision
Parameters
- id string - The ID of the Price List you want to create a revision for. The
idis thetypedIdwithout the suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
- payload CreateRevisionRequest - Request payload
Return Type
- PriceListItemResponse|error - Example response
createQuoteRevision
function createQuoteRevision(string identifier, map<string|string[]> headers) returns QuoteResponse|errorCreate a New Revision
Parameters
- identifier string - Can be either the
uniqueNameor thetypedId
Return Type
- QuoteResponse|error - Example response
createUploadSlot
function createUploadSlot(map<string|string[]> headers, *CreateUploadSlotQueries queries) returns CreateUploadSlotEnvelope|error- Create an Upload Slot
Parameters
- queries *CreateUploadSlotQueries - Queries to be sent with the request
Return Type
- CreateUploadSlotEnvelope|error - Slot created
createWorkflowDelegation
function createWorkflowDelegation(CreateWorkflowDelegationRequest payload, map<string|string[]> headers) returns CreateWorkflowDelegationResponse|errorCreate a Workflow Delegation
Parameters
- payload CreateWorkflowDelegationRequest - Request payload
Return Type
deactivateWorkflowDelegation
function deactivateWorkflowDelegation(DeactivateWorkflowDelegationRequest payload, map<string|string[]> headers) returns DeactivateWorkflowDelegationResponse|errorDeactivate a Workflow Delegation
Parameters
- payload DeactivateWorkflowDelegationRequest - Request payload
Return Type
deleteActionItem
function deleteActionItem(DeleteActionItemRequest payload, map<string|string[]> headers) returns DeleteActionItemResponse|errorDelete an Action Item
Parameters
- payload DeleteActionItemRequest - Request payload
Return Type
deleteActionItemType
function deleteActionItemType(record { data record { typedId string } } payload, map<string|string[]> headers) returns DeleteActionItemTypeResponse|errorDelete an Action Item Type
Parameters
- payload record { data record { typedId string } } - The general delete request. Deletes the object specified by
typedIdin the request body
Return Type
deleteBusinessRole
function deleteBusinessRole(DeleteBusinessRoleRequest payload, map<string|string[]> headers) returns DeleteBusinessRoleResponse|errorDelete a Business Role
Parameters
- payload DeleteBusinessRoleRequest - Request payload
Return Type
deleteCalculatedFieldSet
function deleteCalculatedFieldSet(DeleteCalculatedFieldSetRequest payload, map<string|string[]> headers) returns error?Delete a Calculated Field Set
Parameters
- payload DeleteCalculatedFieldSetRequest - Request payload
Return Type
- error? - OK
deleteCalculation
function deleteCalculation(DeleteCalculationRequest payload, map<string|string[]> headers) returns DeleteCalculationResponse|errorDelete a Calculation
Parameters
- payload DeleteCalculationRequest - Request payload
Return Type
- DeleteCalculationResponse|error - OK - returns the deleted object's data
deleteCalculationGrid
function deleteCalculationGrid(DeleteCalculationGridRequest payload, map<string|string[]> headers) returns DeleteCalculationGridResponse|errorDelete a Calculation Grid
Parameters
- payload DeleteCalculationGridRequest - Request payload
Return Type
deleteCalculationGridItem
function deleteCalculationGridItem("1"|"2"|"3"|"4"|"5"|"6" keyNumber, DeleteCalculationGridItemRequest payload, map<string|string[]> headers) returns DeleteCalculationGridItemResponse|errorDelete a Calculation Grid Item
Parameters
- keyNumber "1"|"2"|"3"|"4"|"5"|"6" - Use CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
- payload DeleteCalculationGridItemRequest - Request payload
Return Type
deleteClaimType
function deleteClaimType(DeleteClaimTypeRequest payload, map<string|string[]> headers) returns DeleteClaimTypeResponse|errorDelete a Claim Type
Parameters
- payload DeleteClaimTypeRequest - Request payload
Return Type
deleteColumnValues
function deleteColumnValues(string typeCode, string columnName, map<string|string[]> headers) returns DeleteColumnValuesResponse|errorDelete Column Values
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- columnName string - The name of the column/attribute you want to remove values from
Return Type
deleteColumnValuesMatrix
function deleteColumnValuesMatrix(string tableId, string columnName, map<string|string[]> headers) returns error?Delete Column Values (Matrix only)
Parameters
- tableId string - Enter the ID of the table. The ID can be retrieved using the
/lookuptablemanager.fetchmethod
- columnName string - Enter the name of the column you want to delete values from
Return Type
- error? - OK
deleteComment
function deleteComment(string typedId, map<string|string[]> headers) returns DeleteCommentEnvelope|errorDelete a Comment
Parameters
- typedId string - Comment or CommentThread typedId
Return Type
deleteCompensationPlan
function deleteCompensationPlan(DeleteCompensationPlanRequest payload, map<string|string[]> headers) returns DeleteCompensationPlanResponse|errorDelete a Compensation Plan
Parameters
- payload DeleteCompensationPlanRequest - Request payload
Return Type
- DeleteCompensationPlanResponse|error - OK. Returns the deleted Compensation Plan object
deleteCompensationType
function deleteCompensationType(DeleteCOHTBody payload, map<string|string[]> headers) returns DeleteCompensationTypeEnvelope|errorDelete a Compensation Type
Parameters
- payload DeleteCOHTBody - Request payload
Return Type
- DeleteCompensationTypeEnvelope|error - OK - returns the deleted object
deleteConditionRecordItemMeta
function deleteConditionRecordItemMeta(DeleteCRCIMBody payload, map<string|string[]> headers) returns ConditionRecordItemMetaOperationEnvelope|errorDelete a Condition Record Item Attribute Meta
Parameters
- payload DeleteCRCIMBody - Request payload
Return Type
deleteConditionRecordSet
function deleteConditionRecordSet(DcrmanagerDeletemassopidBody payload, map<string|string[]> headers) returns ConditionRecordSetOperationEnvelope|errorDelete a Condition Records Set
Parameters
- payload DcrmanagerDeletemassopidBody - Request payload
Return Type
deleteConditionType
function deleteConditionType(DeleteConditionTypeRequest payload, map<string|string[]> headers) returns DeleteConditionTypeEnvelope|errorDelete a Condition Type
Parameters
- payload DeleteConditionTypeRequest - Request payload
Return Type
deleteConfigurationStorage
function deleteConfigurationStorage(record {} payload, map<string|string[]> headers) returns ConfigurationStorageOperationEnvelope|errorDelete a Configuration Storage
Parameters
- payload record {} - Request payload
Return Type
deleteCustomForm
function deleteCustomForm(DeleteCustomFormRequest payload, map<string|string[]> headers) returns GenericDataResponse|errorDelete a Custom Form
Parameters
- payload DeleteCustomFormRequest - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
deleteCustomFormType
function deleteCustomFormType(DeleteCFOTBody payload, map<string|string[]> headers) returns DeleteCustomFormTypeEnvelope|errorDelete a Custom Form Type
Parameters
- payload DeleteCFOTBody - Request payload
Return Type
deleteCustomer
function deleteCustomer(DeleteCustomerRequest payload, map<string|string[]> headers) returns DeleteCustomerResponse|errorDelete a Customer
Parameters
- payload DeleteCustomerRequest - Request payload
Return Type
deleteCustomerExtension
function deleteCustomerExtension(DeleteCustomerExtensionRequest payload, map<string|string[]> headers) returns DeleteCustomerExtensionResponse|errorDelete a Customer Extension
Parameters
- payload DeleteCustomerExtensionRequest - Request payload
Return Type
deleteDataChangeRequestItem
function deleteDataChangeRequestItem(string id, DeleteDCRIRequest payload, map<string|string[]> headers) returns DeleteDCRIResponse|errorDelete a Data Change Request Item
Parameters
- id string -
idof the Data Change Request whose item you want to delete
- payload DeleteDCRIRequest - Request payload
Return Type
- DeleteDCRIResponse|error - OK
deleteDataChangeRequestMassChange
function deleteDataChangeRequestMassChange(string id, DcrmanagerDeletemassopidBody payload, map<string|string[]> headers) returns DataChangeRequestMassChangeEnvelope|errorDelete a Data Change Request Mass Change
Parameters
- id string -
idof the Data Change Request
- payload DcrmanagerDeletemassopidBody - Request payload
Return Type
deleteDataManagerEntity
function deleteDataManagerEntity("DM"|"DMF"|"DMDS" typeCode, DeleteDataManagerEntityRequest payload, map<string|string[]> headers) returns DeleteDataManagerEntityResponse|errorDelete a Data Manager Entity
Parameters
- typeCode "DM"|"DMF"|"DMDS" - The type code of the Field Collection you want to delete
- payload DeleteDataManagerEntityRequest - Request payload
Return Type
deleteDatamartOrphanObjects
function deleteDatamartOrphanObjects(map<string|string[]> headers) returns DatamartOrphanObjectsEnvelope|errorDelete Datamart Orphan Objects
Return Type
deleteFile
function deleteFile(string typedId, string binaryDataId, record {} payload, map<string|string[]> headers) returns GenericDataResponse|errorDelete a File
Parameters
- typedId string -
typedIdof the document whose attachment you want to delete
- binaryDataId string - If the
typedIdis, for example, 1145.BD then the binaryDataId is 1145
- payload record {} - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
deleteImportChanges
function deleteImportChanges(ImportmanagerDeletechangesBody payload, map<string|string[]> headers) returns GenericDataResponse|errorDelete Import Changes
Parameters
- payload ImportmanagerDeletechangesBody - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
deleteInternationalizationMessages
function deleteInternationalizationMessages(I18nmanagerDeleteKeysBody payload, map<string|string[]> headers) returns Response|errorDelete Internationalization Messages
Parameters
- payload I18nmanagerDeleteKeysBody - Request payload
deleteKey
function deleteKey(string tableName, DeleteKVKeyRequest payload, map<string|string[]> headers) returns error?Delete a Key
Parameters
- tableName string - The tableName to be sent with the request
- payload DeleteKVKeyRequest - Request payload
Return Type
- error? - OK. Returns
nullwhen successfully deleted
deleteLivePriceGrid
function deleteLivePriceGrid(DeleteLivePriceGridRequest payload, map<string|string[]> headers) returns DeleteLivePriceGridResponse|errorDelete a Live Price Grid
Parameters
- payload DeleteLivePriceGridRequest - Request payload
Return Type
deleteLivePriceGridType
function deleteLivePriceGridType(DeletePLTTBody payload, map<string|string[]> headers) returns LivePriceGridTypeOperationEnvelope|errorDelete a Live Price Grid Type
Parameters
- payload DeletePLTTBody -
Return Type
deleteLogic
Delete a Logic
Parameters
- id string - The ID of the logic you want to delete.
idis thetypedIdwithout F suffix. For example, theidattribute of the item withtypedId= 2147484835.F is 2147484835
Return Type
- DeleteLogicResponse|error - OK
deleteLookupTable
function deleteLookupTable(DeleteLookupTableRequest payload, map<string|string[]> headers) returns DeleteLookupTableResponse|errorDelete a Lookup Table
Parameters
- payload DeleteLookupTableRequest - Specify the
typedIdof the Lookup Table (Company Parameters) you want to delete
Return Type
deleteLookupTableValue
function deleteLookupTableValue(string tableId, DeleteLookupTableValueRequest payload, map<string|string[]> headers) returns DeleteLookupTableValueResponse|errorDelete a Lookup Table Value
Parameters
- tableId string - Enter the ID of the table. The ID can be retrieved using the
/lookuptablemanager.fetchmethod
- payload DeleteLookupTableValueRequest -
Return Type
deleteManualPriceList
function deleteManualPriceList(DeleteManualPriceListRequest payload, map<string|string[]> headers) returns ManualPriceListResponse|errorDelete a Manual Price List
Parameters
- payload DeleteManualPriceListRequest - Request payload
Return Type
- ManualPriceListResponse|error - Example response
deleteManualPriceListProduct
function deleteManualPriceListProduct(string id, DeleteProductFromManualPriceListRequest payload, map<string|string[]> headers) returns ProductResponse|errorDelete a Product from a Manual Price List
Parameters
- id string - The ID of the Manual Price List whose product you want to delete
- payload DeleteProductFromManualPriceListRequest - Request payload
Return Type
- ProductResponse|error - Returns full record details
deleteManualPriceListProducts
function deleteManualPriceListProducts(string id, DeleteProductsFromManualPriceListRequest payload, map<string|string[]> headers) returns DeleteProductsFromManualPriceListResponse|errorDelete Products from a Manual Price List
Parameters
- id string - The ID of the Manual Price List whose products you want to delete
- payload DeleteProductsFromManualPriceListRequest - Request payload
Return Type
deleteNotification
function deleteNotification(NotificationSetreadBody payload, map<string|string[]> headers) returns DeleteNotificationEnvelope|errorDelete a Notification
Parameters
- payload NotificationSetreadBody - Request payload
Return Type
deleteObject
function deleteObject("ACTT"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CLLI"|"CN"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DREG"|"DWT"|"ET"|"EVT"|"F"|"FE"|"FN"|"IDC"|"IE"|"ISH"|"JST"|"JLTV"|"JLTVM"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"P"|"PAM"|"PAPIJ"|"PBOME"|"PCOMP"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" typeCode, DeleteObjectRequest_1 payload, map<string|string[]> headers) returns DeleteObjectResponse_1|errorDelete an Object
Parameters
- typeCode "ACTT"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CLLI"|"CN"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DREG"|"DWT"|"ET"|"EVT"|"F"|"FE"|"FN"|"IDC"|"IE"|"ISH"|"JST"|"JLTV"|"JLTVM"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"P"|"PAM"|"PAPIJ"|"PBOME"|"PCOMP"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" - Enter the type code of the entity you want to delete the object from. See the list of Type Codes in the Pricefx Knowledge Base article
- payload DeleteObjectRequest_1 - Request payload
Return Type
deleteObjects
function deleteObjects(string typeCode, DeleteObjectsForceFilterRequest payload, map<string|string[]> headers) returns DeleteObjectsResponse|errorDelete Objects
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- payload DeleteObjectsForceFilterRequest - Request payload
Return Type
deletePriceGridItem
function deletePriceGridItem(string id, DeletePriceGridItemRequest payload, map<string|string[]> headers) returns PriceGridItemResponse|errorDelete a Price Grid Item
Parameters
- id string - The ID of the Price Grid you want to delete the Price Grid Item from
- payload DeletePriceGridItemRequest - Request payload
Return Type
- PriceGridItemResponse|error - Example response
deletePriceGridItemFilter
function deletePriceGridItemFilter(string id, DeletePriceGridItemFilterRequest payload, map<string|string[]> headers) returns error?Delete a Price Grid Item (Filter)
Parameters
- id string - The ID of the Price Grid that contains Price Grid Items you want to delete
- payload DeletePriceGridItemFilterRequest -
Return Type
- error? - OK
deletePriceList
function deletePriceList(DeletePriceListRequest payload, map<string|string[]> headers) returns DeletePriceListResponse|errorDelete a Price List
Parameters
- payload DeletePriceListRequest - Request payload
Return Type
deletePriceListItems
function deletePriceListItems(string id, DeletePriceListItemRequest payload, map<string|string[]> headers) returns DeletePriceListItemResponse|errorDelete a Price List Item
Parameters
- id string - Enter the ID of the Price List where you want to delete an item from
- payload DeletePriceListItemRequest - Request payload
Return Type
- DeletePriceListItemResponse|error - OK - Returns a number of deleted items
deletePriceListType
function deletePriceListType(DeletePLTTBody payload, map<string|string[]> headers) returns PriceListTypeOperationEnvelope|errorDelete a Price List Type
Parameters
- payload DeletePLTTBody - Request payload
Return Type
deleteProduct
function deleteProduct(DeleteProductRequest payload, map<string|string[]> headers) returns DeleteProductResponse|errorDelete a Product
Parameters
- payload DeleteProductRequest - Request payload
Return Type
deleteProductExtension
function deleteProductExtension(DeleteProductExtensionRequest payload, map<string|string[]> headers) returns DeleteProductExtensionResponse|errorDelete a Product Extension
Parameters
- payload DeleteProductExtensionRequest - Request payload
Return Type
deleteRebateAgreement
function deleteRebateAgreement(DeleteRebateAgreementRequest payload, map<string|string[]> headers) returns RebateAgreementResponse|errorDelete a Rebate Agreement
Parameters
- payload DeleteRebateAgreementRequest - Request payload
Return Type
- RebateAgreementResponse|error - Example response
deleteRebateCalculation
function deleteRebateCalculation(DeleteRebateCalculationRequest payload, map<string|string[]> headers) returns DeleteRebateCalculationResponse|errorDelete a Rebate Calculation
Parameters
- payload DeleteRebateCalculationRequest - Request payload
Return Type
deleteSeller
function deleteSeller(DeleteSellerRequest payload, map<string|string[]> headers) returns DeleteSellerEnvelope|errorDelete a Seller
Parameters
- payload DeleteSellerRequest - Request payload
Return Type
deleteSellerExtension
function deleteSellerExtension(DeleteSellerExtensionRequest payload, map<string|string[]> headers) returns DeleteSellerExtensionResponse|errorDelete a Seller Extension
Parameters
- payload DeleteSellerExtensionRequest - Request payload
Return Type
deleteUploadSlot
function deleteUploadSlot(string slotId, map<string|string[]> headers) returns UploadSlotOperationEnvelope|error- Delete an Upload Slot
Parameters
- slotId string - Enter the ID of the slot you want to delete
Return Type
- UploadSlotOperationEnvelope|error - Slot deleted
deleteUploadSlotViaGet
function deleteUploadSlotViaGet(string slotId, map<string|string[]> headers) returns DeleteUploadSlotResponse|error- Delete an Upload Slot
Parameters
- slotId string - Enter the ID of the slot you want to delete
Return Type
- DeleteUploadSlotResponse|error - Slot deleted
deleteUser
function deleteUser(DeleteUserRequest payload, map<string|string[]> headers) returns UserResponse|errorDelete a User
Parameters
- payload DeleteUserRequest - Request payload
Return Type
- UserResponse|error - Example response
deleteUserGroup
function deleteUserGroup(DeleteUserGroupRequest payload, map<string|string[]> headers) returns DeleteUserGroupResponse|errorDelete a User Group
Parameters
- payload DeleteUserGroupRequest - Request payload
Return Type
deleteWorkflowDelegation
function deleteWorkflowDelegation(DeleteWorkflowDelegationRequest payload, map<string|string[]> headers) returns DeleteWorkflowDelegationResponse|errorDelete a Workflow Delegation
Parameters
- payload DeleteWorkflowDelegationRequest - Request payload
Return Type
denyDocument
function denyDocument(string currentStepId, DenyDocumentRequest payload, map<string|string[]> headers) returns DenyDocumentResponse|errorDeny a Document
Parameters
- currentStepId string - The ID of the workflow step. It can be retrieved using the
/workflowsmanager.fetch/active(List Pending Approvals) endpoint
- payload DenyDocumentRequest - Request payload
Return Type
denyLivePriceGridItem
function denyLivePriceGridItem(string id, DenyLivePriceGridItemRequest payload, map<string|string[]> headers) returns PriceGridItemResponse|errorDeny a Live Price Grid Item
Parameters
- id string - The ID of the Price Grid that contains the Price Grid Item you want to deny
- payload DenyLivePriceGridItemRequest - Request payload
Return Type
- PriceGridItemResponse|error - Example response
deployConfigurationStorage
function deployConfigurationStorage(JcsmanagerDeployBody payload, map<string|string[]> headers) returns ConfigurationStorageOperationEnvelope|errorDeploy a Configuration Storage
Parameters
- payload JcsmanagerDeployBody - Request payload
Return Type
downloadAttachmentData
function downloadAttachmentData(string binaryDataId, map<string|string[]> headers, *DownloadAttachmentDataQueries queries) returns byte[]|errorDownload an Attachment
Parameters
- binaryDataId string - If the typedId is, for example, 1146.BD then the binaryDataId is 1146
- queries *DownloadAttachmentDataQueries - Queries to be sent with the request
Return Type
- byte[]|error - OK - binary data
downloadFile
function downloadFile(string typedId, string binaryDataId, map<string|string[]> headers, *DownloadFileQueries queries) returns FileDownloadEnvelope|errorDownload a File
Parameters
- typedId string -
typedIdof the document you want to download the attachment from
- binaryDataId string - If the
typedIdis, for example, 1145.BD then the binaryDataId is 1145
- queries *DownloadFileQueries - Queries to be sent with the request
Return Type
- FileDownloadEnvelope|error - File metadata or content
downloadFileViaPost
function downloadFileViaPost(string typedId, string binaryDataId, map<string|string[]> headers, *DownloadFileViaPostQueries queries) returns Response|errorDownload a File
Parameters
- typedId string -
typedIdof the document you want to download the attachment from
- binaryDataId string - If the
typedIdis, for example, 1145.BD then the binaryDataId is 1145
- queries *DownloadFileViaPostQueries - Queries to be sent with the request
downloadLivePriceGridExcelFile
function downloadLivePriceGridExcelFile(string id1, string id2, string id3, string id4, string id5, string id6, string id7, string id8, string id9, string id10, string id11, string id12, string id13, map<string|string[]> headers, *DownloadLivePriceGridExcelFileQueries queries) returns Response|errorDownload a Live Price Grid Excel File
Parameters
- id1 string - The id1 to be sent with the request
- id2 string - The id2 to be sent with the request
- id3 string - The id3 to be sent with the request
- id4 string - The id4 to be sent with the request
- id5 string - The id5 to be sent with the request
- id6 string - The id6 to be sent with the request
- id7 string - The id7 to be sent with the request
- id8 string - The id8 to be sent with the request
- id9 string - The id9 to be sent with the request
- id10 string - The id10 to be sent with the request
- id11 string - The id11 to be sent with the request
- id12 string - The id12 to be sent with the request
- id13 string - IDs of the Price Grids you want to download
- queries *DownloadLivePriceGridExcelFileQueries - Queries to be sent with the request
dropKvTable
function dropKvTable(string tableName, record {} payload, map<string|string[]> headers) returns record {}|errorDrop a KV Table
Parameters
- tableName string - A name of the table you want drop. Only lower case letters, numbers and underscores are allowed. Do not use special characters
- payload record {} - Request payload
Return Type
- record {}|error - Table dropped
duplicateCompensationPlan
function duplicateCompensationPlan(string typedId, map<string|string[]> headers) returns DuplicateCompensationPlanEnvelope|errorDuplicate a Compensation Plan
Parameters
- typedId string - The
typedIdof the Compensation Plan you want to duplicate
Return Type
- DuplicateCompensationPlanEnvelope|error - OK. Returns the duplicated object
duplicateCustomForm
function duplicateCustomForm(string typedId, record {} payload, map<string|string[]> headers) returns CustomFormRevisionEnvelope|errorDuplicate a Custom Form
Parameters
- typedId string -
typedIdof the Custom Form you want to duplicate
- payload record {} - Request payload
Return Type
duplicateModel
function duplicateModel(string typedId, OptimizationModelduplicatetypedIdBody payload, map<string|string[]> headers) returns ModelDuplicationEnvelope|errorDuplicate a Model
Parameters
- typedId string - The typedId to be sent with the request
- payload OptimizationModelduplicatetypedIdBody - Request payload
Return Type
editAttachment
function editAttachment(string ownerTypedId, string binaryDataId, string slotId, BinaryDataIdslotIdBody payload, map<string|string[]> headers) returns FileDownloadEnvelope|error- Upload a File
Parameters
- ownerTypedId string - The
TypedIdof the document owning the attachment
- binaryDataId string - The
binaryDataIdof the attachment to replace
- slotId string - The upload
slot_idcontaining the new file
- payload BinaryDataIdslotIdBody - Request payload
Return Type
- FileDownloadEnvelope|error - Attachment replaced
editComment
function editComment(string typedId, CommentmanagerEdittypedIdBody payload, map<string|string[]> headers) returns CommentOperationEnvelope|errorEdit a Comment
Parameters
- typedId string - typedId of the comment you want to edit
- payload CommentmanagerEdittypedIdBody - Request payload
Return Type
executeDataLoadLogic
function executeDataLoadLogic(string typedId, string logicName, map<string|string[]> headers) returns ExecuteDataLoadLogicResponse|errorExecute a Data Load Logic
Parameters
- typedId string - The
typedIdof the Data Load you want to evaluate
- logicName string - The name of the logic you want to execute
Return Type
executeLibraryFunction
function executeLibraryFunction(string formulaName, string elementName, string functionName, ElementNamefunctionNameBody payload, map<string|string[]> headers) returns Response|errorExecute Library Function
Parameters
- formulaName string - Name of the formula library containing the function
- elementName string - Name of the library element containing the function
- functionName string - Name of the function to execute
- payload ElementNamefunctionNameBody - Request payload
executeLogic
function executeLogic(string typeCode, record {} payload, map<string|string[]> headers) returns ExecuteActionItemLogicResponse|errorExecute a Logic
Parameters
- typeCode string - The
typeCodeof the Action Item you want to execute the calculation for
- payload record {} - Request payload
Return Type
executeLogicInService
function executeLogicInService(string uniqueName, record { data record {} } payload, map<string|string[]> headers) returns LogicResponse|errorExecute a Logic Without a Context in a Service
Parameters
- uniqueName string - The name (
uniqueName) of the logic you want to execute
- payload record { data record {} } -
Return Type
- LogicResponse|error - Example response
executeLogicInServiceReadOnly
function executeLogicInServiceReadOnly(string uniqueName, map<string|string[]> headers) returns ExecuteLogicReadOnlyResponse|errorExecute a Logic Without a Context in a Service (Read-Only)
Parameters
- uniqueName string - The name (
uniqueName) of the logic you want to execute
Return Type
executeLogicRead
function executeLogicRead(string uniqueName, map<string|string[]> headers) returns ExecuteLogicReadOnlyResponse|errorExecute a Logic (Read-Only)
Parameters
- uniqueName string - The name (
uniqueName) of the logic you want to execute
Return Type
executeLogicWithout
function executeLogicWithout(string uniqueName, record { data record {} } payload, map<string|string[]> headers, *ExecuteLogicWithoutQueries queries) returns ExecuteLogicWithoutProductContextResponse|errorExecute a Logic (Without a Context)
Parameters
- uniqueName string - The name (
uniqueName) of the logic you want to execute
- payload record { data record {} } -
- queries *ExecuteLogicWithoutQueries - Queries to be sent with the request
Return Type
executeModelLogic
function executeModelLogic(string typedId, string stepName, string formulaName, ExecuteModelLogicRequest payload, map<string|string[]> headers) returns ExecuteModelLogicResponse|errorExecute a Model Logic
Parameters
- typedId string - The
typedIdof the Model Object you want to execute the logic for
- stepName string - The name of the step you want to execute the logic for
- formulaName string - The name of the logic you want to execute
- payload ExecuteModelLogicRequest - Request payload
Return Type
executeNamedProductLogic
function executeNamedProductLogic(string sku, string uniqueName, record { data record {} } payload, map<string|string[]> headers) returns ExecuteLogicResponse|errorExecute a Logic
Parameters
- sku string - The
skuortypedIdof the product you want to execute the assigned logic for
- uniqueName string - The name (
uniqueName) of the logic you want to execute
- payload record { data record {} } -
Return Type
executeProductLogic
function executeProductLogic(string sku, record { data record {} } payload, map<string|string[]> headers) returns ExecuteAssignedLogicResponse|errorExecute an Assigned Logic
Parameters
- sku string - The
skuortypedIdof the product you want to execute the logic for
- payload record { data record {} } -
Return Type
exportContractPdf
Export a PDF File
Parameters
- uniqueName string - Specify the
uniqueNameof the A&P you want to download
exportCsvFile
function exportCsvFile(ExportCSVFileRequest payload, map<string|string[]> headers, *ExportCsvFileQueries queries) returns error?Export a CSV File
Parameters
- payload ExportCSVFileRequest - Request payload
- queries *ExportCsvFileQueries - Queries to be sent with the request
Return Type
- error? - OK - returns the ZIP file (binary data):
Content-Type: application/zip
exportDatamart
function exportDatamart(string fcTypedIdOrSourceName, ExportDatamartRequest payload, map<string|string[]> headers, *ExportDatamartQueries queries) returns ExportDatamartResponse|errorExport Datamart
Parameters
- fcTypedIdOrSourceName string - Restricts the export to a specific source, identified by either the 'typedId' or 'sourceName'.
- payload ExportDatamartRequest - Request payload
- queries *ExportDatamartQueries - Queries to be sent with the request
Return Type
exportExcelFileXlsx
function exportExcelFileXlsx(ExportExcelFileRequest payload, map<string|string[]> headers, *ExportExcelFileXlsxQueries queries) returns error?Export an Excel File (XLSX)
Parameters
- payload ExportExcelFileRequest - Request payload
- queries *ExportExcelFileXlsxQueries - Queries to be sent with the request
Return Type
- error? - OK - returns the XLSX file (binary data):
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
exportModels
function exportModels(OptimizationModelexportBody payload, map<string|string[]> headers) returns Response|errorExport Models
Parameters
- payload OptimizationModelexportBody - Request payload
exportQuoteDocx
function exportQuoteDocx(string uniqueName, map<string|string[]> headers, *ExportQuoteDocxQueries queries) returns error?Export a DOCX File
Parameters
- uniqueName string - Specify the
uniqueNameof the quote you want to download
- queries *ExportQuoteDocxQueries - Queries to be sent with the request
Return Type
- error? - OK
exportQuoteExcel
function exportQuoteExcel(string uniqueName, map<string|string[]> headers, *ExportQuoteExcelQueries queries) returns error?Export an Excel File
Parameters
- uniqueName string - Specify the
uniqueNameof the quote you want to download
- queries *ExportQuoteExcelQueries - Queries to be sent with the request
Return Type
- error? - OK - returns a file data
exportQuotePdf
function exportQuotePdf(string uniqueName, map<string|string[]> headers, *ExportQuotePdfQueries queries) returns record {}|errorExport a PDF File
Parameters
- uniqueName string - Specify the
uniqueNameof the quote you want to download
- queries *ExportQuotePdfQueries - Queries to be sent with the request
Return Type
- record {}|error - OK - returns the file data
fetchActivities
function fetchActivities(ActivitylogFetchBody payload, map<string|string[]> headers) returns record {}|FetchActivitiesEnvelope|errorFetch Activities
Parameters
- payload ActivitylogFetchBody - Request payload
Return Type
- record {}|FetchActivitiesEnvelope|error - OK
fetchDataMartObject
function fetchDataMartObject(string objectId, GetDMObjectRequest payload, map<string|string[]> headers, *FetchDataMartObjectQueries queries) returns GetDMObjectResponse|errorGet a DM Object
Parameters
- objectId string - Use one of the following object identifiers:
- typedUniquename – Format: "<typeCode>.<uniqueName>" (e.g., DMDS.SalesTransactions)
- typedId – Format: "<dbId>.<typeCode>" (e.g., 123456.DMDS)'
- "*" (asterisk) – Asterisk can be used when you are providing a source$query in
datawithin the request body
- payload GetDMObjectRequest - Request payload
- queries *FetchDataMartObjectQueries - Queries to be sent with the request
Return Type
- GetDMObjectResponse|error - OK
fetchPendingReviews
function fetchPendingReviews(map<string|string[]> headers) returns FetchPendingReviewsEnvelope|errorFetch Pending Reviews
Return Type
generateJwtToken
function generateJwtToken(GenerateJWTTokenRequest payload, map<string|string[]> headers) returns GenerateJWTTokenResponse|errorGenerate a JWT Token
Parameters
- payload GenerateJWTTokenRequest - Request payload
Return Type
generateParameters
function generateParameters(GenerateParametersRequest payload, map<string|string[]> headers) returns GenerateParametersResponse|errorGenerate Parameters
Parameters
- payload GenerateParametersRequest - Request payload
Return Type
generateTimedJwtToken
function generateTimedJwtToken(string minutes, map<string|string[]> headers) returns GenerateJWTTokenTimeLimitedResponse|errorGenerate a JWT Token (time limited)
Parameters
- minutes string - The number of minutes in which the token expires
Return Type
getActionStatus
function getActionStatus(string actionUUID, map<string|string[]> headers) returns GetActionStatusResponse|errorGet Action Status
Parameters
- actionUUID string - The actionUUID to be sent with the request
Return Type
getAdvancedConfigurationProperty
function getAdvancedConfigurationProperty(string propertyname, map<string|string[]> headers) returns AdvancedConfigPropertyEnvelope|errorGet Advanced Configuration Property
Parameters
- propertyname string - Name of the configuration property to retrieve
Return Type
- AdvancedConfigPropertyEnvelope|error - Property found
getCalculationGrid
function getCalculationGrid(string id, record {} payload, map<string|string[]> headers) returns GetCalculationGridResponse|errorGet a Calculation Grid
Parameters
- id string - ID of the Calculation Grid you want to retrieve
- payload record {} - Request payload
Return Type
getCalculationGridItem
function getCalculationGridItem("1"|"2"|"3"|"4"|"5"|"6" keyNumber, string id, record {} payload, map<string|string[]> headers) returns GetCalculationGridItemResponse|errorGet a Calculation Grid Item
Parameters
- keyNumber "1"|"2"|"3"|"4"|"5"|"6" - Use CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
- id string -
idof the Calculation Grid Item you want to fetch
- payload record {} - Request payload
Return Type
getCalculationStatus
function getCalculationStatus(string typedId, map<string|string[]> headers) returns JobStatusTrackerResponse|errorGet a Calculation Status
Parameters
- typedId string - The
typedIdof the Model Object you want to retrieve the calculation status for
Return Type
- JobStatusTrackerResponse|error - Example response
getClicDraftHeader
function getClicDraftHeader(string typedId, record {} payload, map<string|string[]> headers) returns ClicDraftHeaderEnvelope|errorGet a Temporary Data
Parameters
- typedId string -
typedIdof the Quote you want to retrieve the temporary data from
- payload record {} - Request payload
Return Type
getClicFolderStats
function getClicFolderStats(string typedId, map<string|string[]> headers, *GetClicFolderStatsQueries queries) returns ClicFolderStatsEnvelope|errorGet Folder Statistics
Parameters
- typedId string - typedId of the document whose folder statistics you want to fetch
- queries *GetClicFolderStatsQueries - Queries to be sent with the request
Return Type
getClicHeader
function getClicHeader(string typedId, map<string|string[]> headers) returns GetQuoteContractRebateAgreementResponse|errorGet a Quote/Contract/Rebate Agreement/Compensation Plan Header
Parameters
- typedId string - The
typedIdof the Contract, Quote, or Rebate Agreement you want to return details for
Return Type
getConditionRecordItem
function getConditionRecordItem(record {} payload, map<string|string[]> headers) returns ConditionRecordItemEnvelope|errorGet a Condition Record Item
Parameters
- payload record {} - Request payload
Return Type
getConditionRecordItemMeta
function getConditionRecordItemMeta(FetchCRCIMBody payload, map<string|string[]> headers) returns ConditionRecordItemMetaEnvelope|errorGet a Condition Record Item Attribute Meta
Parameters
- payload FetchCRCIMBody - Request payload
Return Type
getConditionRecordSetItems
function getConditionRecordSetItems(ConditionrecordsetFetchCRCI3Body payload, map<string|string[]> headers) returns ConditionRecordSetItemsEnvelope|errorGet Condition Record Set Items With Set Id Validation
Parameters
- payload ConditionrecordsetFetchCRCI3Body - Request payload
Return Type
getConfigurationStorage
function getConfigurationStorage(FetchJCSBody payload, map<string|string[]> headers) returns GetConfigurationStorageEnvelope|errorGet a Configuration Storage
Parameters
- payload FetchJCSBody - Request payload
Return Type
getContract
function getContract(string uniqueName, map<string|string[]> headers) returns ContractModelResponse|errorGet a Contract
Parameters
- uniqueName string -
uniqueNameof the Contract you want to retrieve details for. Alternatively,typedIdcan be also used
Return Type
- ContractModelResponse|error - Example response
getCustomForm
function getCustomForm(string typedId, map<string|string[]> headers) returns GetCustomFormResponse|errorGet a Custom Form
Parameters
- typedId string - The
typedIdof the Custom Form you want to retrieve details for
Return Type
getCustomer
Get a Customer
Parameters
- id string - The ID of the Customer you want to retrieve details for. The
idis thetypedIdwithout the C suffix. For example, theidparameter of the item withtypedId= 2147492200.C is 2147492200
Return Type
- CustomerResponse|error - Returns customer record details
getDataChangeRequest
function getDataChangeRequest(string id, GetDCRRequest payload, map<string|string[]> headers) returns GetDCRResponse|errorGet a Data Change Request
Parameters
- id string -
idof the Data Change Request you want to retrieve
- payload GetDCRRequest - Request payload
Return Type
- GetDCRResponse|error - OK
getDataChangeRequestChanges
function getDataChangeRequestChanges(string id, GetDCRRequestChangeOnly payload, map<string|string[]> headers) returns GetDCRResponseChangeOnly|errorGet a Data Change Request (changes only)
Parameters
- id string -
idof the Data Change Request you want to retrieve changed items for
- payload GetDCRRequestChangeOnly - Request payload
Return Type
getDataChangeRequestMassChanges
function getDataChangeRequestMassChanges(string id, DcrmanagerFetchmassopidBody payload, map<string|string[]> headers) returns DataChangeRequestMassChangeEnvelope|errorGet Data Change Request Mass Changes
Parameters
- id string -
idof the Data Change Request
- payload DcrmanagerFetchmassopidBody - Request payload
Return Type
getDataMartObject
function getDataMartObject(string objectId, map<string|string[]> headers, *GetDataMartObjectQueries queries) returns DataMartObjectEnvelope|errorGet a DM Object
Parameters
- objectId string - Use one of the following object identifiers:
- typedUniquename – Format: "<typeCode>.<uniqueName>" (e.g., DMDS.SalesTransactions)
- typedId – Format: "<dbId>.<typeCode>" (e.g., 123456.DMDS)'
- "*" (asterisk) – Asterisk can be used when you are providing a source$query in
datawithin the request body
- queries *GetDataMartObjectQueries - Queries to be sent with the request
Return Type
- DataMartObjectEnvelope|error - Exported data
getDefaultPricingLogicName
function getDefaultPricingLogicName(map<string|string[]> headers) returns GetDefaultPricingLogicNameResponse|errorGet a Default Pricing Logic Name
Return Type
getDmExportFile
Get a DM Export File
Parameters
- fileName string - The name of the file previously created by a
datamart.exportrequest. The filename needs to be an exact match - no wildcards allowed, hence only one file at the time can be fetched
Return Type
- error? - OK
getDmObjectNo
function getDmObjectNo(string objectId, GetDMObjectNoCountRequest payload, map<string|string[]> headers) returns GetDMObjectNoCountResponse|errorGet a DM Object (no count)
Parameters
- objectId string - Use one of the following object identifiers:
- typedUniquename – Format: "<typeCode>.<uniqueName>" (e.g., DMDS.SalesTransactions)
- typedId – Format: "<dbId>.<typeCode>" (e.g., 123456.DMDS)
- "*" (asterisk) – Asterisk can be used when you are providing a source$query in
datawithin the request body
- payload GetDMObjectNoCountRequest - Request payload
Return Type
getExternalApplicationProperties
function getExternalApplicationProperties(map<string|string[]> headers) returns GetexternalapppropertiesResponse|errorGet External Application Properties
Return Type
getKey
function getKey(string tableName, GetKVKeyRequest payload, map<string|string[]> headers) returns error?Get a Key
Parameters
- tableName string - A name of the table you want to retrieve the "payload" from
- payload GetKVKeyRequest - Request payload
Return Type
- error? - OK. The "payload" is returned
getLivePriceGrid
function getLivePriceGrid(string id, map<string|string[]> headers) returns GetLivePriceGridResponse|errorGet a Live Price Grid
Parameters
- id string - The
idof the Live Price Grid you want to retrieve details for. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
Return Type
getLogic
Get a Logic
Parameters
- id string - The ID of the logic you want to retrieve details for
Return Type
- GetLogicResponse|error - OK
getLogicReferences
function getLogicReferences(string tableId, map<string|string[]> headers) returns GetLogicReferencesResponse|errorGet Logic References
Parameters
- tableId string - Enter the ID of the table you want to retrieve logic references for
Return Type
getLokiLog
function getLokiLog(map<string|string[]> headers, *GetLokiLogQueries queries) returns LokiLogEnvelope|errorGet a Loki Log
Parameters
- queries *GetLokiLogQueries - Queries to be sent with the request
Return Type
- LokiLogEnvelope|error - OK
getMcpRoles
function getMcpRoles(map<string|string[]> headers) returns McpRolesEnvelope|errorGet MCP Roles
Return Type
- McpRolesEnvelope|error - Roles received
getMcpTools
function getMcpTools(map<string|string[]> headers) returns McpToolsEnvelope|errorGet MCP Tools
Return Type
- McpToolsEnvelope|error - Roles received
getNewUploadSlot
function getNewUploadSlot(map<string|string[]> headers) returns CreateUploadSlotResponse|error- Create an Upload Slot
Return Type
- CreateUploadSlotResponse|error - Slot created
getObject
function getObject(string typeCode, string id, map<string|string[]> headers) returns GetObjectResponse_1|errorGet an Object
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- id string - The ID of the object you want to retrieve details for
Return Type
- GetObjectResponse_1|error - OK
getOneTimeToken
function getOneTimeToken(map<string|string[]> headers) returns GetOneTimeTokenResponse|errorGet a One Time Token
Return Type
getParallelCalculationItem
function getParallelCalculationItem(string id, record {} payload, map<string|string[]> headers) returns GetParallelCalculationItemResponse|errorGet a Parallel Calculation Item
Parameters
- id string -
idof the Parallel Calculation Item (PCI) you want to retrieve
- payload record {} - Request payload
Return Type
getPriceList
Get a Price List
Parameters
- id string - The ID of the Price List you want to retrieve details for. The
idis thetypedIdwithout the suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
Return Type
getProductAttributeMeta
function getProductAttributeMeta(record {} payload, map<string|string[]> headers) returns ProductAttributeMetaEnvelope|errorGet Product Attribute Meta
Parameters
- payload record {} - Request payload
Return Type
getProductBomTree
function getProductBomTree(string sku, map<string|string[]> headers) returns ListBoMForProductResponse|errorList BoM for a Product
Parameters
- sku string - The
skuof the product you want to retrieve the Bill of Materials for
Return Type
getProductCompetition
function getProductCompetition(GetCompetitionDataRequest payload, map<string|string[]> headers) returns GetCompetitionDataResponse|errorGet Competition Data
Parameters
- payload GetCompetitionDataRequest - Request payload
Return Type
getProductSetCompetition
function getProductSetCompetition(string label, GetProductSetRequest payload, map<string|string[]> headers) returns GetProductSetResponse|errorGet a Product Set
Parameters
- label string - Enter the name of the product set you want to retrieve
- payload GetProductSetRequest - Request payload
Return Type
getQueryApiMetadata
function getQueryApiMetadata(QueryapiExecuteBody payload, map<string|string[]> headers) returns QueryApiMetadataEnvelope|errorGet Query API Metadata
Parameters
- payload QueryapiExecuteBody - Request payload
Return Type
- QueryApiMetadataEnvelope|error - Metadata returned
getQuote
Get a Quote
Parameters
- typedID string - Enter the quote typed ID. You get the
typedIdin the response when fetching all quotes using the/quotemanager.fetchlistendpoint
Return Type
- QuoteResponse|error - Example response
getRebateAgreement
function getRebateAgreement(string uniqueName, map<string|string[]> headers) returns RebateAgreementResponse|errorGet a Rebate Agreement
Parameters
- uniqueName string - The
uniqueNameof the Rebate Agreement you want to retrieve details for
Return Type
- RebateAgreementResponse|error - Example response
getRebateRecordGroup
Get a Rebate Record Group
Parameters
- payload record {} - Request payload
Return Type
- error? - OK
getSellerExtension
function getSellerExtension(string sellerId, string sXCategory, map<string|string[]> headers) returns SellerExtensionEnvelope|errorGet a Seller Extension
Parameters
- sellerId string - The
SellerIdof the seller in the Seller Extension table you want to retrieve details for
- sXCategory string - The Seller Extension category (the
Namefrom the Seller Master Extension table)
Return Type
getSignatureStatus
function getSignatureStatus(string typedId, record {} payload, map<string|string[]> headers) returns GetSignatureStatusResponse|errorGet a Signature Status
Parameters
- typedId string -
typedIdof the Compensation document you want to retrieve the signature status for
- payload record {} - Request payload
Return Type
getSignedDocument
Get a Signed Document
Parameters
- uniqueName string - A
uniqueNameof the Compensation Plan you want to download a signed file for
getStepCalculationStatus
function getStepCalculationStatus(string typedId, string stepName, map<string|string[]> headers) returns JobStatusTrackerResponse|errorGet a Step Calculation Status
Parameters
- typedId string - The
typedIdof the Model Object you want to retrieve the calculation status for
- stepName string - The name of the step you want to calculate
Return Type
- JobStatusTrackerResponse|error - Example response
getSummary
function getSummary(string typedId, record {} payload, map<string|string[]> headers) returns GetClaimItemsSummaryResponse|errorGet a Summary
Parameters
- typedId string - The typedId to be sent with the request
- payload record {} - Request payload
Return Type
getTableInfo
function getTableInfo(string tableName, map<string|string[]> headers) returns GetKVTableInfoResponse|errorGet a Table Info
Parameters
- tableName string - A name of the table you want to retrieve information about
Return Type
getUploadProgress
function getUploadProgress(string uploadslot, map<string|string[]> headers) returns UploadSlotOperationEnvelope|errorGet Upload Progress
Parameters
- uploadslot string - Upload Slot Id
Return Type
- UploadSlotOperationEnvelope|error - The request response contains the current status of the upload slot, including progress information
getUserAuditReport
function getUserAuditReport("R"|"UG"|"BR" typeCode, string id, record {} payload, map<string|string[]> headers) returns UserAuditReportEnvelope|errorGet a User Audit Report
Parameters
- typeCode "R"|"UG"|"BR" - Specify whether you want to retrieve a report based on user roles (
R), user groups (UG), or business roles (BR)
- id string - Specify the
idof the user role, user group, or business role for which you want to retrieve users. Call the/fetch/R,/fetch/UG, or/fetch/BRendpoint to retrieve a list with corresponding user roles, user groups, or business roles
- payload record {} - Request payload
Return Type
getWorkflowDocument
function getWorkflowDocument(string typedId, map<string|string[]> headers) returns GetWorkflowDocumentResponse|errorGet a Workflow Document
Parameters
- typedId string - The
typedIdof the approvable object you want to retrieve workflow details for
Return Type
importClicLineItems
function importClicLineItems(string typedId, ClicmanagerImportlineitemstypedIdBody payload, map<string|string[]> headers) returns ClicOperationEnvelope|errorImport Line Items (w/o Input Types)
Parameters
- typedId string - The typedId to be sent with the request
- payload ClicmanagerImportlineitemstypedIdBody - Request payload
Return Type
- ClicOperationEnvelope|error - OK -
ServerMessageExtendedproperty contains information about what was imported
importDataLoad
function importDataLoad(ImportDataLoadRequest payload, map<string|string[]> headers) returns error?Import a Data Load
Parameters
- payload ImportDataLoadRequest - Request payload
Return Type
- error? - OK
importDataMartFile
function importDataMartFile(string slotId, string typedId, map<string|string[]> headers) returns error?Import a File
Parameters
- slotId string - The
idof the slot. Create the slot and retrieve theidusing the /uploadmanager.newuploadslot endpoint
- typedId string - The
typedIdof the Data Manager entity
Return Type
- error? - OK
importModels
function importModels(OptimizationModelimportBody payload, map<string|string[]> headers) returns ModelDuplicationEnvelope|errorImport Models
Parameters
- payload OptimizationModelimportBody - Request payload
Return Type
importProductCompetition
function importProductCompetition(ImportCompetitionDataRequest payload, map<string|string[]> headers) returns ImportCompetitionDataResponse|errorImport Competition Data
Parameters
- payload ImportCompetitionDataRequest - The competition product details
Return Type
importSellerExtensionFile
function importSellerExtensionFile(string sXCategory, string slotId, ImportSXFileRequest payload, map<string|string[]> headers, *ImportSellerExtensionFileQueries queries) returns error?Import a File
Parameters
- sXCategory string - The Seller Extension category (the
Namefrom the Seller Master Extension table)
- slotId string - The ID that is returned by the /uploadmanager.newuploadslot (Create an Upload Slot) endpoint
- payload ImportSXFileRequest - Request payload
- queries *ImportSellerExtensionFileQueries - Queries to be sent with the request
Return Type
- error? - Accepted
insertBulkCustomerExtensions
function insertBulkCustomerExtensions(InsertBulkCustomerExtensionsRequest payload, map<string|string[]> headers) returns LoadDataResponse|errorInsert Bulk Customer Extensions
Parameters
- payload InsertBulkCustomerExtensionsRequest - Specify customer extension field names in the
headerobject and field values in thedataobject.<p>
Return Type
- LoadDataResponse|error - Returns the number of inserted or updated objects
insertBulkData
function insertBulkData(TypeCodeEnum typeCode, InsertBulkDataRequest payload, map<string|string[]> headers) returns LoadDataResponse|errorInsert Bulk Data
Parameters
- typeCode TypeCodeEnum - Specify the type code for the entity you want to work with. See the list of Type Codes in the Pricefx Knowledge Base article.'
- payload InsertBulkDataRequest - The
/loaddata/Pendpoint (Insert Bulk Products) is used in our example.<p>
Return Type
- LoadDataResponse|error - Returns the number of inserted or updated objects
insertBulkDataFromFile
function insertBulkDataFromFile("C"|"CDESC"|"CX"|"JLTV"|"LTV"|"MLTV"|"P"|"PBOME"|"PCOMP"|"PDESC"|"PR"|"PX"|"PXREF"|"SL"|"SX"|"TODO"|"UG" typeCode, InsertBulkDataFromFileRequest payload, map<string|string[]> headers, *InsertBulkDataFromFileQueries queries) returns InsertBulkDataFromFileResponse|errorInsert Bulk Data From a File
Parameters
- typeCode "C"|"CDESC"|"CX"|"JLTV"|"LTV"|"MLTV"|"P"|"PBOME"|"PCOMP"|"PDESC"|"PR"|"PX"|"PXREF"|"SL"|"SX"|"TODO"|"UG" - Enter the type code of the entity you want to insert a data to. See the list of Type Codes in the Pricefx Knowledge Base article
- payload InsertBulkDataFromFileRequest - Request payload
- queries *InsertBulkDataFromFileQueries - Queries to be sent with the request
Return Type
insertBulkDataFromFileAsync
function insertBulkDataFromFileAsync("C"|"CDESC"|"CX"|"JLTV"|"LTV"|"MLTV"|"P"|"PBOME"|"PCOMP"|"PDESC"|"PR"|"PX"|"PXREF"|"SL"|"SX"|"TODO"|"UG" typeCode, InsertBulkDataFromFileAsyncRequest payload, map<string|string[]> headers, *InsertBulkDataFromFileAsyncQueries queries) returns InsertBulkDataFromFileAsyncResponse|errorInsert Bulk Data From a File (async)
Parameters
- typeCode "C"|"CDESC"|"CX"|"JLTV"|"LTV"|"MLTV"|"P"|"PBOME"|"PCOMP"|"PDESC"|"PR"|"PX"|"PXREF"|"SL"|"SX"|"TODO"|"UG" - Enter the type code of the entity you want to insert a data to. See the list of Type Codes in the Pricefx Knowledge Base article
- payload InsertBulkDataFromFileAsyncRequest - Request payload
- queries *InsertBulkDataFromFileAsyncQueries - Queries to be sent with the request
Return Type
insertBulkDataToLookupTable
function insertBulkDataToLookupTable("JLTV"|"JLTVM"|"LT"|"LTT"|"LTV"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM" typeCode, InsertBulkDataToLookupTableRequest payload, map<string|string[]> headers) returns InsertBulkDataLookupTableResponse|errorInsert Bulk Data to Lookup Table
Parameters
- typeCode "JLTV"|"JLTVM"|"LT"|"LTT"|"LTV"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM" - Enter the type code of the Lookup Table entity you want to insert a data to
- payload InsertBulkDataToLookupTableRequest - We used
/lookuptablemanager.loaddata/MLTVin the request example to insert bulk data to Matrix Lookup Table. Notice that thelookupTableis used in theheadersection and then ID of the Lookup Table in thedatasection
Return Type
insertBulkKvData
function insertBulkKvData(string tableName, InsertBulkKVDataRequest payload, map<string|string[]> headers) returns GenericDataResponse|errorInsert Bulk KV Data
Parameters
- tableName string - A name of the table you want upload data to
- payload InsertBulkKVDataRequest - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
insertBulkProductExtensions
function insertBulkProductExtensions(InsertBulkProductExtensionsRequest payload, map<string|string[]> headers) returns error?Insert Bulk Product Extensions
Parameters
- payload InsertBulkProductExtensionsRequest - Specify product extension field names in the
headerobject and field values in thedataobject
Return Type
- error? - OK
insertBulkSellerExtensions
function insertBulkSellerExtensions(InsertBulkProductExtensionsRequest1 payload, map<string|string[]> headers) returns error?Insert Bulk Seller Extensions
Parameters
- payload InsertBulkProductExtensionsRequest1 - Specify seller extension field names in the
headerobject and field values in thedataobject
Return Type
- error? - OK
listAccrualRecords
function listAccrualRecords(ListAccrualRecordsRequest payload, map<string|string[]> headers) returns ListAccrualRecordsResponse|errorList Accrual Records
Parameters
- payload ListAccrualRecordsRequest - Request payload
Return Type
listActionItems
function listActionItems(FetchAIBody payload, map<string|string[]> headers) returns ListActionItemsResponse|errorList Action Items
Parameters
- payload FetchAIBody - Request payload
Return Type
listActionTypes
function listActionTypes(record { endRow int, oldValues record {}?, operationType string, startRow int, textMatchStyle string, data record { _constructor string, operator string, criteria record { fieldName string, operator string, value string }[] } } payload, map<string|string[]> headers) returns ListActionTypesResponse|errorList Action Types
Parameters
Return Type
listAllLookupTableValues
function listAllLookupTableValues(string tableId, ListAllLookupTableValuesRequest payload, map<string|string[]> headers, *ListAllLookupTableValuesQueries queries) returns ListAllLookupTableValuesResponse|errorList All Lookup Table Values
Parameters
- tableId string - Enter the ID of the table. The ID can be retrieved using the
/lookuptablemanager.fetchmethod
- payload ListAllLookupTableValuesRequest - You can specify the start and end row to limit the number of retrieved records
- queries *ListAllLookupTableValuesQueries - Queries to be sent with the request
Return Type
listAllLookupTables
function listAllLookupTables(ListAllLookupTablesRequest payload, map<string|string[]> headers) returns ListAllLookupTablesResponse|errorList All Lookup Tables
Parameters
- payload ListAllLookupTablesRequest - You can specify the start and end row to limit the number of retrieved Lookup Tables / Company Parameters
Return Type
- ListAllLookupTablesResponse|error - Returns the Company Parameter table / Lookup table fields. The
nameproperty is the same asuniqueNameif theownerisnull. If theownerfield is non-null, then thenamewill be the name of the table (DMT or LT) in the context of the owner
listAttributeFieldsMetadata
function listAttributeFieldsMetadata("ACTT"|"AI"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CL"|"CLLI"|"CLLIAM"|"CLR"|"CLT"|"CN"|"CO"|"COAM"|"COCT"|"COCTAM"|"COHT"|"COHTAM"|"COLI"|"COR"|"CORAM"|"COROLI"|"CORS"|"CORSC"|"COT"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX10"|"CX20"|"CX3"|"CX30"|"CX50"|"CX6"|"CX8"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DP"|"DPR"|"DPT"|"DREF"|"DREG"|"EDL"|"ET"|"EVT"|"F"|"FE"|"FN"|"HEVT"|"HRT"|"HRTAM"|"IDC"|"IE"|"ISH"|"JLTV"|"JLTV2"|"JLTVM"|"JST"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MC"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MN"|"MO"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"NT"|"P"|"PAM"|"PBOME"|"PCOMP"|"PCOMPCO"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLPGTT"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX10"|"PX20"|"PX3"|"PX30"|"PX50"|"PX6"|"PX8"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAROLI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"SL"|"SLAM"|"SX10"|"SX20"|"SX3"|"SX30"|"SX50"|"SX6"|"SX8"|"SXAM"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" typeCode, map<string|string[]> headers, *ListAttributeFieldsMetadataQueries queries) returns ListAttributeFieldsMetadata|errorList Attribute Fields' Metadata
Parameters
- typeCode "ACTT"|"AI"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CL"|"CLLI"|"CLLIAM"|"CLR"|"CLT"|"CN"|"CO"|"COAM"|"COCT"|"COCTAM"|"COHT"|"COHTAM"|"COLI"|"COR"|"CORAM"|"COROLI"|"CORS"|"CORSC"|"COT"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX10"|"CX20"|"CX3"|"CX30"|"CX50"|"CX6"|"CX8"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DP"|"DPR"|"DPT"|"DREF"|"DREG"|"EDL"|"ET"|"EVT"|"F"|"FE"|"FN"|"HEVT"|"HRT"|"HRTAM"|"IDC"|"IE"|"ISH"|"JLTV"|"JLTV2"|"JLTVM"|"JST"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MC"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MN"|"MO"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"NT"|"P"|"PAM"|"PBOME"|"PCOMP"|"PCOMPCO"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLPGTT"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX10"|"PX20"|"PX3"|"PX30"|"PX50"|"PX6"|"PX8"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAROLI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"SL"|"SLAM"|"SX10"|"SX20"|"SX3"|"SX30"|"SX50"|"SX6"|"SX8"|"SXAM"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" - Enter the type code of the entity you want to retrieve information for. See the list of Type Codes in the Pricefx Knowledge Base article
- queries *ListAttributeFieldsMetadataQueries - Queries to be sent with the request
Return Type
listCalculatedFieldSets
function listCalculatedFieldSets(map<string|string[]> headers) returns ListCalculatedFieldSetsResponse|errorList Calculated Field Sets
Return Type
listCalculationGridItems
function listCalculationGridItems("1"|"2"|"3"|"4"|"5"|"6" keyNumber, ListCalculationGridItemsRequest payload, map<string|string[]> headers) returns ListCalculationGridItemsResponse|errorList Calculation Grid Items
Parameters
- keyNumber "1"|"2"|"3"|"4"|"5"|"6" - Use CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
- payload ListCalculationGridItemsRequest - Request payload
Return Type
listCalculationGrids
function listCalculationGrids(record {} payload, map<string|string[]> headers) returns ListCalculationGridsResponse|errorList Calculation Grids
Parameters
- payload record {} - Request payload
Return Type
listCalculations
function listCalculations(ListCalculationsRequest payload, map<string|string[]> headers) returns ListCalculationsResponse|errorList Calculations
Parameters
- payload ListCalculationsRequest - Request payload
Return Type
listCharts
function listCharts(map<string|string[]> headers) returns ListChartsResponse|errorList Charts
Return Type
- ListChartsResponse|error - OK
listClaimTypes
function listClaimTypes(ListClaimTypesRequest payload, map<string|string[]> headers) returns ListClaimTypesResponse|errorList Claim Types
Parameters
- payload ListClaimTypesRequest - The example of the request body contains the filter. The call returns Claim Types whose
nameequals to "claimType"
Return Type
listClaims
function listClaims(ListClaimsRequest payload, map<string|string[]> headers) returns ListClaimsResponse|errorList Claims
Parameters
- payload ListClaimsRequest -
Return Type
- ListClaimsResponse|error - OK
listClicObjects
function listClicObjects(string typedId, GetCLICrequest payload, map<string|string[]> headers, *ListClicObjectsQueries queries) returns GetCLICresponse|errorList CLIC Objects
Parameters
- typedId string - The
typedIdof the Quote/Contract/Rebate Agreement/Compensation Plan you want to retrieve line items for
- payload GetCLICrequest - Request payload
- queries *ListClicObjectsQueries - Queries to be sent with the request
Return Type
- GetCLICresponse|error - OK
listCommentThreads
function listCommentThreads(string typedId, CommentmanagerFetchthreadstypedIdBody payload, map<string|string[]> headers, *ListCommentThreadsQueries queries) returns ListCommentThreadsEnvelope|errorList Comment Threads
Parameters
- typedId string - typedId of the object you want to fetch comments for
- payload CommentmanagerFetchthreadstypedIdBody - Request payload
- queries *ListCommentThreadsQueries - Queries to be sent with the request
Return Type
listCompensationPlans
function listCompensationPlans(ListCompensationPlansRequest payload, map<string|string[]> headers) returns ListCompensationPlansResponse|errorList Compensation Plans
Parameters
- payload ListCompensationPlansRequest - Request payload
Return Type
listCompensationRecords
function listCompensationRecords(string compensationRecordSetId, ListCompensationRecordsRequest payload, map<string|string[]> headers) returns ListCompensationRecordsResponse|errorList Compensation Records
Parameters
- compensationRecordSetId string - ID of the CompensationRecordSet into which this Compensation Record belongs. By default it belongs to "Default" CompensationRecordSet, but you can change it when you create the Compensation Record. This can be useful if you create different "kinds" of Compensation Records which will be used to calculate different results at different times
- payload ListCompensationRecordsRequest - Request payload
Return Type
listCompensationTypes
function listCompensationTypes(ListCompensationTypesRequest payload, map<string|string[]> headers) returns ListCompensationTypesEnvelope|errorList Compensation Types
Parameters
- payload ListCompensationTypesRequest - Request payload
Return Type
listConditionRecordSets
function listConditionRecordSets(record {} payload, map<string|string[]> headers) returns ListConditionRecordSetsEnvelope|errorList Condition Record Sets
Parameters
- payload record {} - Request payload
Return Type
listConditionTypes
function listConditionTypes(ListConditionTypesRequest payload, map<string|string[]> headers) returns ListConditionTypesEnvelope|errorList Condition Types
Parameters
- payload ListConditionTypesRequest - Request payload
Return Type
listContractCalculations
function listContractCalculations(record {} payload, map<string|string[]> headers) returns ListContractCalculationsEnvelope|errorList Contract Calculations
Parameters
- payload record {} - Request payload
Return Type
listContractPriceRecords
function listContractPriceRecords(FetchCPRBody payload, map<string|string[]> headers) returns ListContractPriceRecords|errorList Contract Price Records
Parameters
- payload FetchCPRBody - Request payload
Return Type
listContracts
function listContracts(ListContractsRequest payload, map<string|string[]> headers) returns ContractResponse|errorList Contracts
Parameters
- payload ListContractsRequest - Request payload
Return Type
- ContractResponse|error - Example response
listCustomFormTypes
function listCustomFormTypes(ListCustomFormTypesRequest payload, map<string|string[]> headers) returns ListCustomFormTypesResponse|errorList Custom Form Types
Parameters
- payload ListCustomFormTypesRequest - Request payload
Return Type
listCustomForms
function listCustomForms(ListCustomFormsRequest payload, map<string|string[]> headers) returns ListCustomFormsEnvelope|errorList Custom Forms
Parameters
- payload ListCustomFormsRequest - Request payload
Return Type
listCustomerAssignments
function listCustomerAssignments(string typedId, ListCustomerAssignmentsRequest payload, map<string|string[]> headers) returns AssignmentResponse|errorList Customer Assignments
Parameters
- typedId string - The
typedIdof the entity you want to retrieve assignments for
- payload ListCustomerAssignmentsRequest - Request payload
Return Type
- AssignmentResponse|error - Example response
listCustomerExtensionObjects
function listCustomerExtensionObjects(string customerMasterExtensionName, ListCustomerExtensionObjectsRequest payload, map<string|string[]> headers, *ListCustomerExtensionObjectsQueries queries) returns ListCustomerExtensionObjectsResponse|errorList Customer Extension Objects
Parameters
- customerMasterExtensionName string - Enter the name of Customer Extension you want to retrieve objects from. You can find the name in Administration > Configuration > Master Data > Customer Master Extension or using the /configurationmanager.get/customerextension endpoint
- payload ListCustomerExtensionObjectsRequest - Request payload
- queries *ListCustomerExtensionObjectsQueries - Queries to be sent with the request
Return Type
listCustomers
function listCustomers(ListCustomersRequest payload, map<string|string[]> headers) returns CustomerResponse|errorList Customers
Parameters
- payload ListCustomersRequest - Request payload
Return Type
- CustomerResponse|error - Returns customer record details
listDataLoads
function listDataLoads(map<string|string[]> headers) returns ListDataLoadsResponse|errorList Data Loads
Return Type
listDataLoadsWith
function listDataLoadsWith(map<string|string[]> headers) returns ListDataLoadsWithValidationResponse|errorList Data Loads (with validation and schedules)
Return Type
listDataManagerEntities
function listDataManagerEntities("DM"|"DMDS"|"DMF"|"DMT" typeCode, ListDataManagerEntitiesRequest payload, map<string|string[]> headers) returns DmObjectResponse|errorList Data Manager Entities
Parameters
- typeCode "DM"|"DMDS"|"DMF"|"DMT" - The type code of the Field Collection
- payload ListDataManagerEntitiesRequest - Request payload
Return Type
- DmObjectResponse|error - Example response
listDatamartOrphanObjects
function listDatamartOrphanObjects(map<string|string[]> headers) returns DatamartOrphanObjectsEnvelope|errorList Datamart Orphan Objects
Return Type
listDelegatedWorkflows
function listDelegatedWorkflows(ListDelegatedWorkflowsRequest payload, map<string|string[]> headers) returns ListDelegatedWorkflowsResponse|errorList Delegated Workflows
Parameters
- payload ListDelegatedWorkflowsRequest - Request payload
Return Type
listElements
function listElements(string uniqueName, map<string|string[]> headers) returns ListElementsResponse|errorList Elements
Parameters
- uniqueName string - The name (
uniqueName) of the logic you want to list elements for
Return Type
listEmailTasks
function listEmailTasks(NotificationListBody payload, map<string|string[]> headers) returns ListEmailTasksEnvelope|errorList Email Tasks
Parameters
- payload NotificationListBody - Request payload
Return Type
listEntityFields
function listEntityFields("ACTT"|"AI"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CL"|"CLLI"|"CLLIAM"|"CLR"|"CLT"|"CN"|"CO"|"COAM"|"COCT"|"COCTAM"|"COHT"|"COHTAM"|"COLI"|"COR"|"CORAM"|"COROLI"|"CORS"|"CORSC"|"COT"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX10"|"CX20"|"CX3"|"CX30"|"CX50"|"CX6"|"CX8"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DP"|"DPR"|"DPT"|"DREF"|"DREG"|"EDL"|"ET"|"EVT"|"F"|"FE"|"FN"|"HEVT"|"HRT"|"HRTAM"|"IDC"|"IE"|"ISH"|"JLTV"|"JLTV2"|"JLTVM"|"JST"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MC"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MN"|"MO"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"NT"|"P"|"PAM"|"PBOME"|"PCOMP"|"PCOMPCO"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLPGTT"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX10"|"PX20"|"PX3"|"PX30"|"PX50"|"PX6"|"PX8"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAROLI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"SL"|"SLAM"|"SX10"|"SX20"|"SX3"|"SX30"|"SX50"|"SX6"|"SX8"|"SXAM"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" typeCode, map<string|string[]> headers, *ListEntityFieldsQueries queries) returns ListEntityFieldsResponse|errorList Entity Fields
Parameters
- typeCode "ACTT"|"AI"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CL"|"CLLI"|"CLLIAM"|"CLR"|"CLT"|"CN"|"CO"|"COAM"|"COCT"|"COCTAM"|"COHT"|"COHTAM"|"COLI"|"COR"|"CORAM"|"COROLI"|"CORS"|"CORSC"|"COT"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX10"|"CX20"|"CX3"|"CX30"|"CX50"|"CX6"|"CX8"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DP"|"DPR"|"DPT"|"DREF"|"DREG"|"EDL"|"ET"|"EVT"|"F"|"FE"|"FN"|"HEVT"|"HRT"|"HRTAM"|"IDC"|"IE"|"ISH"|"JLTV"|"JLTV2"|"JLTVM"|"JST"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MC"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MN"|"MO"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"NT"|"P"|"PAM"|"PBOME"|"PCOMP"|"PCOMPCO"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLPGTT"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX10"|"PX20"|"PX3"|"PX30"|"PX50"|"PX6"|"PX8"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAROLI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"SL"|"SLAM"|"SX10"|"SX20"|"SX3"|"SX30"|"SX50"|"SX6"|"SX8"|"SXAM"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" - Enter the type code of the entity you want to retrieve information for. See the list of Type Codes in the Pricefx Knowledge Base article
- queries *ListEntityFieldsQueries - Queries to be sent with the request
Return Type
listEventTasks
function listEventTasks(NotificationListBody payload, map<string|string[]> headers) returns ListEventTasksEnvelope|errorList Event Tasks
Parameters
- payload NotificationListBody - Request payload
Return Type
listFiles
function listFiles(string typedId, BdmanagerListtypedIdBody payload, map<string|string[]> headers) returns ListFilesEnvelope|errorList Files
Parameters
- typedId string -
typedIdof the document you want to list attachments for
- payload BdmanagerListtypedIdBody - Request payload
Return Type
- ListFilesEnvelope|error - OK
listFunctions
function listFunctions(map<string|string[]> headers) returns ListFunctionsResponse|errorList Functions
Return Type
listGroupsOfBusinessRole
function listGroupsOfBusinessRole(string businessroleId, map<string|string[]> headers) returns ListGroupsOfBusinessRoleResponse|errorList Groups of the Business Role
Parameters
- businessroleId string - The ID of the business role you want to retrieve user roles for. The
businessroleIdis thetypedIdwithout theBRsuffix. For example,businessroleIdof the 53.BR is 53
Return Type
listImportManagerChanges
function listImportManagerChanges(string uniqueName, record {} payload, map<string|string[]> headers) returns ListImportManagerChangesEnvelope|errorList ImportManager Changes
Parameters
- uniqueName string - The uniqueName to be sent with the request
- payload record {} - Request payload
Return Type
listInternationalizationMessages
function listInternationalizationMessages(I18nmanagerFetchWithExtraDataBody payload, map<string|string[]> headers) returns ListInternationalizationMessagesEnvelope|errorList Internationalization Messages
Parameters
- payload I18nmanagerFetchWithExtraDataBody - Request payload
Return Type
- ListInternationalizationMessagesEnvelope|error - OK - contains the messages for the locale
listItems
function listItems(string typedId, record {} payload, map<string|string[]> headers) returns ListClaimItemsResponse|errorList Items
Parameters
- typedId string - The typedId to be sent with the request
- payload record {} - Request payload
Return Type
listJobs
function listJobs(record { endRow int, oldValues record {}?, operationType string, startRow int, textMatchStyle string, data record { _constructor string, operator string, criteria record { fieldName string, operator string, value string }[] } } payload, map<string|string[]> headers) returns ListJSTResponse|errorList Jobs
Parameters
Return Type
- ListJSTResponse|error - OK
listKvTables
function listKvTables(map<string|string[]> headers) returns ListKVTablesResponse|errorList KV Tables
Return Type
listLibraries
function listLibraries(map<string|string[]> headers) returns ListLibrariesResponse|errorList Libraries
Return Type
listLivePriceGridItems
function listLivePriceGridItems(string id, ListLivePriceGridItemsRequest payload, map<string|string[]> headers) returns ListLivePriceGridItemsResponse|errorList Live Price Grid Items
Parameters
- id string - The
idof the Live Price Grid you want to retrieve items for. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
- payload ListLivePriceGridItemsRequest - Request payload
Return Type
listLivePriceGridTypes
function listLivePriceGridTypes(map<string|string[]> headers) returns ListLivePriceGridTypesEnvelope|errorList Live Price Grid Types
Return Type
listLivePriceGrids
function listLivePriceGrids(ListLivePriceGridsRequest payload, map<string|string[]> headers) returns ListLivePriceGridsResponse|errorList Live Price Grids
Parameters
- payload ListLivePriceGridsRequest - Request payload
Return Type
listLogicParametersInput
function listLogicParametersInput(string uniqueName, map<string|string[]> headers) returns ListLogicInputFieldsResponse|errorList Logic Parameters (Input Fields)
Parameters
- uniqueName string - The name (
uniqueName) of the logic you want to list parameters for. If omitted, the logic as specified in the product’s master is used, otherwise the passed logic is used
Return Type
listLogics
function listLogics(map<string|string[]> headers) returns ListLogicsResponse|errorList Logics
Return Type
- ListLogicsResponse|error - OK
listLogins
function listLogins(BdmanagerListtypedIdBody payload, map<string|string[]> headers) returns ListLoginsEnvelope|errorList Logins
Parameters
- payload BdmanagerListtypedIdBody - Request payload
Return Type
- ListLoginsEnvelope|error - OK
listManualPriceListProducts
function listManualPriceListProducts(string id, ListProductsFromManualPriceListRequest payload, map<string|string[]> headers) returns ListProductsFromManualPriceListResponse|errorList Products From a Manual Price List
Parameters
- id string - The ID of the Manual Price List you want to retrieve products from
- payload ListProductsFromManualPriceListRequest - Request payload
Return Type
listManualPriceLists
function listManualPriceLists(ListManualPriceListsRequest payload, map<string|string[]> headers) returns ManualPriceListResponse|errorList Manual Price Lists
Parameters
- payload ListManualPriceListsRequest - Request payload
Return Type
- ManualPriceListResponse|error - Example response
listModelLogicParameters
function listModelLogicParameters(string typedId, string stepName, string formulaName, map<string|string[]> headers) returns ListModelLogicParametersResponse|errorList Model Logic Parameters
Parameters
- typedId string - The
typedIdof the Model Object you want to retrieve logic parameters for
- stepName string - The name of the step you want to list logic parameters for
- formulaName string - The name of the logic you want to get parameters for
Return Type
listNotifications
function listNotifications(NotificationListBody payload, map<string|string[]> headers) returns ListNotificationsEnvelope|errorList Notifications
Parameters
- payload NotificationListBody - Request payload
Return Type
listObjects
function listObjects(string typeCode, ListObjectsRequest payload, map<string|string[]> headers) returns GenericDataResponse|errorList Objects
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- payload ListObjectsRequest - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
listParallelCalculationItems
function listParallelCalculationItems(ListParallelCalculationItemsRequest payload, map<string|string[]> headers) returns ListParallelCalculationItemsResponse|errorList Parallel Calculation Items
Parameters
- payload ListParallelCalculationItemsRequest - Request payload
Return Type
listPendingApprovals
function listPendingApprovals(map<string|string[]> headers) returns ListPendingApprovalsResponse|errorList Pending Approvals
Return Type
listPriceListItems
function listPriceListItems(string id, ListPriceListItemsRequest payload, map<string|string[]> headers) returns PriceListItemResponse|errorList Price List Items
Parameters
- id string - The ID of the Price List you want to retrieve items for. The
idis thetypedIdwithout the suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
- payload ListPriceListItemsRequest - Request payload
Return Type
- PriceListItemResponse|error - Example response
listPriceListTypes
function listPriceListTypes(map<string|string[]> headers) returns ListPriceListTypesEnvelope|errorList Price List Types
Return Type
listPriceLists
function listPriceLists(ListPriceListsRequest payload, map<string|string[]> headers) returns ListPriceListsResponse|errorList Price Lists
Parameters
- payload ListPriceListsRequest - Request payload
Return Type
listProductExtensionObjects
function listProductExtensionObjects(string productMasterExtensionName, ListProductExtensionObjectsRequest payload, map<string|string[]> headers, *ListProductExtensionObjectsQueries queries) returns ProductExtensionResponse|errorList Product Extension Objects
Parameters
- productMasterExtensionName string - Enter the name of Product Extension you want to retrieve objects from. You can find the name in Administration > Configuration > Master Data > Product Master Extension or using the /configurationmanager.get/productextension endpoint
- payload ListProductExtensionObjectsRequest - Request payload
- queries *ListProductExtensionObjectsQueries - Queries to be sent with the request
Return Type
- ProductExtensionResponse|error - A Product Extension response
listProductSets
function listProductSets(ListProductSetsRequest payload, map<string|string[]> headers) returns ListProductSetsResponse|errorList Product Sets
Parameters
- payload ListProductSetsRequest - Request payload
Return Type
listProducts
function listProducts(ListProductsRequest payload, map<string|string[]> headers) returns ProductResponse|errorList Products
Parameters
- payload ListProductsRequest - Request payload
Return Type
- ProductResponse|error - Returns full record details
listQuoteProducts
function listQuoteProducts(ListProductsRequest1 payload, map<string|string[]> headers) returns error?List Products
Parameters
- payload ListProductsRequest1 - Request payload
Return Type
- error? - OK
listQuotes
function listQuotes(ListQuotesRequest payload, map<string|string[]> headers) returns ListQuotesResponse|errorList Quotes
Parameters
- payload ListQuotesRequest - Request payload
Return Type
- ListQuotesResponse|error - OK
listRebateAgreementItems
function listRebateAgreementItems(ListRebateAgreementItemsRequest payload, map<string|string[]> headers) returns ListRebateAgreementItemsResponse|errorList Rebate Agreement Items
Parameters
- payload ListRebateAgreementItemsRequest - Request payload
Return Type
listRebateAgreements
function listRebateAgreements(ListRebateAgreementsRequest payload, map<string|string[]> headers) returns ListRebateAgreementsResponse|errorList Rebate Agreements
Parameters
- payload ListRebateAgreementsRequest - Request payload
Return Type
listRebateCalculations
function listRebateCalculations(FetchRRSCBody payload, map<string|string[]> headers) returns ListRebateCalculationsResponse|errorList Rebate Calculations
Parameters
- payload FetchRRSCBody - Request payload
Return Type
listRecommendations
function listRecommendations(ListRecommendationsRequest payload, map<string|string[]> headers) returns ListRecommendationsEnvelope|errorList Recommendations
Parameters
- payload ListRecommendationsRequest - Request payload
Return Type
listRolesOfBusinessRole
function listRolesOfBusinessRole(string businessroleId, map<string|string[]> headers) returns ListRolesOfBusinessRoleResponse|errorList Roles of the Business Role
Parameters
- businessroleId string - The ID of the business role you want to retrieve user roles for. The
businessroleIdis thetypedIdwithout theBRsuffix. For example,businessroleIdof the 53.BR is 53
Return Type
listRollups
function listRollups(ListRollupsRequest payload, map<string|string[]> headers) returns ListRollupsResponse|errorList Rollups
Parameters
- payload ListRollupsRequest - Request payload
Return Type
- ListRollupsResponse|error - OK
listSecurityConfigurationEvents
function listSecurityConfigurationEvents(NotificationListBody payload, map<string|string[]> headers) returns ListSecurityConfigEventsEnvelope|errorList Security & Configuration Events
Parameters
- payload NotificationListBody - Request payload
Return Type
listSellerExtensions
function listSellerExtensions(string sXCategory, map<string|string[]> headers) returns SellerExtensionEnvelope|errorList Seller Extensions
Parameters
- sXCategory string - The Seller Extension category (the
Namefrom the Seller Master Extension table)
Return Type
listSellers
function listSellers(ListSellersRequest payload, map<string|string[]> headers) returns ListSellersEnvelope|errorList Sellers
Parameters
- payload ListSellersRequest - Request payload
Return Type
- ListSellersEnvelope|error - OK
listTasks
function listTasks(map<string|string[]> headers) returns GenericDataResponse|errorList Tasks
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
listTypeCodes
function listTypeCodes(map<string|string[]> headers) returns TypeCodesResponse|error?List Type Codes
Return Type
- TypeCodesResponse|error? - Example response
listUniqueClicItems
function listUniqueClicItems(string typedId, record {} payload, map<string|string[]> headers) returns ListUniqueCLICItemsResponse|errorList Unique CLIC Items
Parameters
- typedId string - The typedId to be sent with the request
- payload record {} - Request payload
Return Type
listUserSBusinessRoles
function listUserSBusinessRoles(string userId, map<string|string[]> headers) returns ListUserBusinessRolesResponse|errorList User's Business Roles
Parameters
- userId string - The ID of the user you want to retrieve business roles for. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
Return Type
listUserSPendingApprovals
function listUserSPendingApprovals(string loginName, map<string|string[]> headers) returns ListUserPendingApprovalsResponse|errorList User's Pending Approvals
Parameters
- loginName string - The login name of the user you want to retrieve Pending Workflows for
Return Type
listUserSRoles
function listUserSRoles(string userId, map<string|string[]> headers) returns ListUserRolesResponse|errorList User's Roles
Parameters
- userId string - The ID of the user you want to retrieve roles for. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
Return Type
listUserSUserGroups
function listUserSUserGroups(string userId, map<string|string[]> headers) returns ListUsersUserGroupsResponse|errorList User's User Groups
Parameters
- userId string - The ID of the user you want to retrieve groups for. The
userIdis thetypedIdwithout theUsuffix. For example,userIdof the 2147490806.U is 2147490806
Return Type
listUsers
function listUsers(ListUsersRequest payload, map<string|string[]> headers) returns ListUsersResponse|errorList Users
Parameters
- payload ListUsersRequest - Request payload
Return Type
- ListUsersResponse|error - OK
listWorkflows
function listWorkflows(ListWorkflowsRequest payload, map<string|string[]> headers) returns ListWorkflowsResponse|errorList Workflows
Parameters
- payload ListWorkflowsRequest - Request payload
Return Type
loadDataIntoFieldCollection
function loadDataIntoFieldCollection(string typedId, DatamartLoadfctypedIdBody payload, map<string|string[]> headers) returns Response|errorLoad Data Into FieldCollection
Parameters
- typedId string - Specifies the typedId (format:
{id}.{type}) of the FieldCollection to load data into. Type must be eitherDMDSorDMT
- payload DatamartLoadfctypedIdBody - Request payload
markAsRead
function markAsRead(record {} payload, map<string|string[]> headers) returns GenericDataResponse|errorMark as Read
Parameters
- payload record {} - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
markQuoteLost
function markQuoteLost(string identifier, MarkOfferAsLostRequest payload, map<string|string[]> headers) returns QuoteResponse|errorMark an Offer as Lost
Parameters
- identifier string - Can be either the
uniqueNameor thetypedId
- payload MarkOfferAsLostRequest - Request payload
Return Type
- QuoteResponse|error - Example response
massDeleteImports
function massDeleteImports(string typedId, ImportmanagerMassdeletetypedIdBody payload, map<string|string[]> headers) returns MassDeleteImportsEnvelope|errorMass Delete Imports
Parameters
- typedId string - The typedId to be sent with the request
- payload ImportmanagerMassdeletetypedIdBody - Request payload
Return Type
massDeleteLookupTableValues
function massDeleteLookupTableValues(string tableId, TableIdBatchBody payload, map<string|string[]> headers, *MassDeleteLookupTableValuesQueries queries) returns DeleteLookupTableValueResponse1|errorMass Delete Lookup Table Values
Parameters
- tableId string - Enter the ID of the table. The ID can be retrieved using the
/lookuptablemanager.fetchmethod
- payload TableIdBatchBody -
- queries *MassDeleteLookupTableValuesQueries - Queries to be sent with the request
Return Type
massEditDataChangeRequestItems
function massEditDataChangeRequestItems(string id, DcrmanagerAddmassopidBody payload, map<string|string[]> headers) returns DataChangeRequestMassChangeEnvelope|errorMass Edit Data Change Request Items
Parameters
- id string -
idof the Data Change Request
- payload DcrmanagerAddmassopidBody - Request payload
Return Type
massEditDataMartObject
function massEditDataMartObject(string typedId, MassEditRequest1 payload, map<string|string[]> headers) returns MassEditDatamartResponse|errorMass Edit
Parameters
- typedId string - The
typedIdof the object you want to perform the mass edit action for
- payload MassEditRequest1 - Request payload
Return Type
- MassEditDatamartResponse|error - OK - returns the number of edited records
massEditImports
function massEditImports(string typedId, ImportmanagerMassedittypedIdBody payload, map<string|string[]> headers) returns MassEditImportsEnvelope|errorMass Edit Imports
Parameters
- typedId string - The typedId to be sent with the request
- payload ImportmanagerMassedittypedIdBody - Request payload
Return Type
massEditLookupTable
function massEditLookupTable(string tableId, MassEditRequest payload, map<string|string[]> headers) returns MassEditResponse|errorMass Edit
Parameters
- tableId string - The ID of the Lookup Table whose values you want to update
- payload MassEditRequest - Request payload
Return Type
- MassEditResponse|error - OK - The response contains the number of modifed objects
massEditManualPriceListItems
function massEditManualPriceListItems(string id, MassEditMPLRequest payload, map<string|string[]> headers) returns MassEditManualPriceListResponse|errorMass Edit a Manual Price List Items
Parameters
- id string - The ID of the Manual Price List whose products you want to update
- payload MassEditMPLRequest - Request payload
Return Type
massEditPriceGridItems
function massEditPriceGridItems(string id, MassEditPriceGridItemsRequest payload, map<string|string[]> headers) returns MassEditPriceGridItemsResponse|errorMass Edit Price Grid Items
Parameters
- id string - The
idof the Live Price Grid whose items you want to edit. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
- payload MassEditPriceGridItemsRequest - Request payload
Return Type
- MassEditPriceGridItemsResponse|error - OK - The response contains
"data":nullas the mass edit task is a background process whose results are not yet available within the response time
massSubmitRebateRecordGroupItems
function massSubmitRebateRecordGroupItems(string typedId, RebaterecordgroupMasssubmittypedIdBody payload, map<string|string[]> headers) returns MassSubmitRRGResponse|errorMass Submit Rebate Record Groups
Parameters
- typedId string - The typedId to be sent with the request
- payload RebaterecordgroupMasssubmittypedIdBody - Request payload
Return Type
massSubmitRebateRecordGroups
function massSubmitRebateRecordGroups(RebaterecordgroupMasssubmittypedIdBody payload, map<string|string[]> headers) returns MassSubmitRebateRecordGroupsEnvelope|errorMass Submit Rebate Record Groups
Parameters
- payload RebaterecordgroupMasssubmittypedIdBody - Request payload
Return Type
massUpdate
function massUpdate(string typeCode, MassUpdateRequest payload, map<string|string[]> headers) returns MassUpdateResponse|errorMass Update
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- payload MassUpdateRequest - Request payload
Return Type
- MassUpdateResponse|error - OK
performMassAction
function performMassAction(string id, PerformMassActionRequest payload, map<string|string[]> headers) returns PerformMassActionResponse|errorPerform a Mass Action
Parameters
- id string - The ID of the Price Grid that contains items you want to apply workflow actions to
- payload PerformMassActionRequest - Request payload
Return Type
pingWithout
Ping (without authentication)
previewCustomFormWorkflow
function previewCustomFormWorkflow(record {} payload, map<string|string[]> headers) returns PreviewCustomFormWorkflowResponse|errorPreview a Custom Form Workflow
Parameters
- payload record {} - Request payload
Return Type
previewRebateRecordGroupWorkflow
function previewRebateRecordGroupWorkflow(string typedId, RebaterecordgroupPreviewtypedIdBody payload, map<string|string[]> headers) returns RebateRecordGroupWorkflowEnvelope|errorPreview a Rebate Record Group Workflow
Parameters
- typedId string - The typedId to be sent with the request
- payload RebaterecordgroupPreviewtypedIdBody - Request payload
Return Type
queryApiExecute
function queryApiExecute(QueryapiExecuteBody payload, map<string|string[]> headers, *QueryApiExecuteQueries queries) returns QueryApiExecuteEnvelope|errorQuery API Execute
Parameters
- payload QueryapiExecuteBody - Request payload
- queries *QueryApiExecuteQueries - Queries to be sent with the request
Return Type
- QueryApiExecuteEnvelope|error - Successful execution
queryDataManagerObject
function queryDataManagerObject(QueryDataManagerObjectRequest payload, map<string|string[]> headers, *QueryDataManagerObjectQueries queries) returns QueryDataManagerObjectResponse|errorQuery a Data Manager Object
Parameters
- payload QueryDataManagerObjectRequest - Request payload
- queries *QueryDataManagerObjectQueries - Queries to be sent with the request
Return Type
recalculateCalculationOfStep
function recalculateCalculationOfStep(string typedId, "definition"|"configuration"|"results"|"projections"|"parallel" stepName, string calcName, record {} payload, map<string|string[]> headers) returns RecalculateCalculationOfStepResponse|errorRecalculate a Calculation of a Step
Parameters
- typedId string - The
typedIdof the Model Object you want to recalculate the step for
- stepName "definition"|"configuration"|"results"|"projections"|"parallel" - Enter the name of the step you want to calculate
- calcName string - The name of the calculation you want to recalculate
- payload record {} - Request payload
Return Type
recalculateItemsOfParallelCalculation
function recalculateItemsOfParallelCalculation(string typedId, "definition"|"configuration"|"results"|"projections"|"parallel" stepName, string calcName, CalcNameItemBody payload, map<string|string[]> headers) returns ParallelCalculationEnvelope|errorRecalculate Items of a Parallel Calculation
Parameters
- typedId string - The
typedIdof the Model Object you want to recalculate the step for
- stepName "definition"|"configuration"|"results"|"projections"|"parallel" - Enter the name of the step you want to calculate
- calcName string - The name of the calculation you want to recalculate
- payload CalcNameItemBody - Request payload
Return Type
recalculateQuote
function recalculateQuote(RecalculateQuoteRequest payload, map<string|string[]> headers) returns QuoteResponse|errorRecalculate a Quote
Parameters
- payload RecalculateQuoteRequest - Request payload
Return Type
- QuoteResponse|error - Example response
recalculateQuoteContractRebate
function recalculateQuoteContractRebate(string typedId, map<string|string[]> headers, *RecalculateQuoteContractRebateQueries queries) returns RecalculateClicEnvelope|errorRecalculate a Quote/Contract/Rebate Agreement/Compensation Plan
Parameters
- typedId string - The
typedIdof the document you want to calculate
- queries *RecalculateQuoteContractRebateQueries - Queries to be sent with the request
Return Type
rejectCalculationGridItem
function rejectCalculationGridItem(string id, DenyCalculationGridItemRequest payload, map<string|string[]> headers) returns DenyCalculationGridItemResponse|errorDeny a Calculation Grid Item
Parameters
- id string - The
idof the Calculation Grid you want to deny items for. You can retrieve theidof the CG, for example, by calling the/fetch/CGendpoint
- payload DenyCalculationGridItemRequest - Request payload
Return Type
rejectItems
function rejectItems(string typedId, RejectClaimItemsRequest payload, map<string|string[]> headers) returns RejectClaimItemsResponse|errorReject Items
Parameters
- typedId string - The
typedIdof the Claim whose items you want to reject
- payload RejectClaimItemsRequest - Request payload
Return Type
removeAllClicLineItems
function removeAllClicLineItems(string typedId, record {} payload, map<string|string[]> headers) returns ClicOperationEnvelope|errorDelete All Line Items
Parameters
- typedId string -
typedIdof the object you want to remove all line items from
- payload record {} - Request payload
Return Type
removeItems
function removeItems(string typedId, record {} payload, map<string|string[]> headers) returns RemoveClaimItemsResponse|errorRemove Items
Parameters
- typedId string - The
typedIdof the Claim whose items you want to remove
- payload record {} - Request payload
Return Type
replyToComment
function replyToComment(CommentmanagerReplyBody payload, map<string|string[]> headers) returns CommentOperationEnvelope|errorReply To a Comment
Parameters
- payload CommentmanagerReplyBody - Request payload
Return Type
resolveComment
function resolveComment(string typedId, record {} payload, map<string|string[]> headers) returns ResolveCommentEnvelope|errorResolve a Comment
Return Type
restoreDefaultDataSources
function restoreDefaultDataSources("Product"|"Customer"|"uom"|"ccy"|"cal" dataSourceName, map<string|string[]> headers) returns RestoreDefaultDataSourcesResponse|errorRestore Default Data Sources
Parameters
- dataSourceName "Product"|"Customer"|"uom"|"ccy"|"cal" - The name of the Data Source you want to create.
Return Type
revokeCompensationRecord
function revokeCompensationRecord(string typedId, map<string|string[]> headers) returns GenericDataResponse|errorRevoke a Compensation Record
Parameters
- typedId string -
typedIdof the Compensation Record you want to revoke
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
revokeModel
function revokeModel(string typedId, record {} payload, map<string|string[]> headers) returns RevokeModelResponse|errorRevoke a Model
Parameters
- typedId string -
typedIdof the model you want to revoke
- payload record {} - Request payload
Return Type
- RevokeModelResponse|error - OK
revokePriceList
function revokePriceList(string id, PricelistmanagerSubmitidBody payload, map<string|string[]> headers) returns PriceListItemResponse|errorRevoke a Price List
Parameters
- id string - The id to be sent with the request
- payload PricelistmanagerSubmitidBody - Request payload
Return Type
- PriceListItemResponse|error - Example response
revokeQuote
function revokeQuote(string identifier, map<string|string[]> headers) returns RevokeDealResponse|errorRevoke a Deal
Parameters
- identifier string - Can be either the
uniqueNameor thetypedId
Return Type
- RevokeDealResponse|error - OK
revokeRebateRecordGroup
function revokeRebateRecordGroup(string typedId, map<string|string[]> headers) returns RevokeRebateRecordGroupEnvelope|errorRevoke a Rebate Record Group
Parameters
- typedId string -
typedIdof the Rebate Record Group you want to revoke
Return Type
runCalculation
function runCalculation(RunCalculationRequest payload, map<string|string[]> headers) returns RunCalculationResponse|errorRun a Calculation
Parameters
- payload RunCalculationRequest - Request payload
Return Type
runDataLoad
function runDataLoad(RunDataLoadRequest payload, map<string|string[]> headers) returns RunDataLoadResponse|errorRun a Data Load
Parameters
- payload RunDataLoadRequest - Request payload
Return Type
- RunDataLoadResponse|error - OK
runRebateCalculation
function runRebateCalculation(RebaterecordCalculatesetBody payload, map<string|string[]> headers) returns RunRebateCalculationResponse|errorRun a Rebate Calculation
Parameters
- payload RebaterecordCalculatesetBody - Request payload
Return Type
saveCalculation
function saveCalculation(SaveCalculationRequest payload, map<string|string[]> headers) returns SaveCalculationResponse|errorSave Calculation
Parameters
- payload SaveCalculationRequest - Request payload
Return Type
saveClicDraft
function saveClicDraft(string typedId, record {} payload, map<string|string[]> headers) returns ClicOperationEnvelope|errorSave a Temporary Data
Parameters
- typedId string -
typedIdof the Temporary Quote you want to save
- payload record {} - Request payload
Return Type
saveCompensationRecord
function saveCompensationRecord(SaveCompensationRecordRequest payload, map<string|string[]> headers) returns SaveCompensationRecordResponse|errorSave a Compensation Record
Parameters
- payload SaveCompensationRecordRequest - Request payload
Return Type
saveDataLoad
function saveDataLoad(DatamartUpdatedataloadBody payload, map<string|string[]> headers) returns DataLoadEnvelope|errorSave a Data Load
Parameters
- payload DatamartUpdatedataloadBody - Request payload
Return Type
- DataLoadEnvelope|error - OK
saveImportChange
function saveImportChange(record {} payload, map<string|string[]> headers) returns SaveImportChangeEnvelope|errorSave Import Change
Parameters
- payload record {} - Request payload
Return Type
saveModel
function saveModel(string typedId, "definition"|"configuration"|"results"|"projections" stepName, SaveModelRequest payload, map<string|string[]> headers) returns SaveModelResponse|errorSave a Model
Parameters
- typedId string - The
typedIdof the Model Object you want to save
- stepName "definition"|"configuration"|"results"|"projections" - Enter the name of the step you want to save. Steps are defined in the Model Class that is associated to the Model Object
- payload SaveModelRequest - The
dataproperty can only contain thestatefield, all the rest fields will be ignored (and cannot be updated even with update/MO endpoint)
Return Type
- SaveModelResponse|error - OK. Returns the updated Model Object
saveRebateCalculation
function saveRebateCalculation(SaveRebateCalculationRequest payload, map<string|string[]> headers) returns SaveRebateCalculationResponse|errorSave a Rebate Calculation
Parameters
- payload SaveRebateCalculationRequest - Request payload
Return Type
searchKvTable
function searchKvTable(string tableName, SearchKVTableRequest payload, map<string|string[]> headers) returns SearchKvTableEnvelope[]|errorSearch a KV Table
Parameters
- tableName string - A name of the table you want to search the pattern for
- payload SearchKVTableRequest -
Return Type
- SearchKvTableEnvelope[]|error - OK
searchProducts
function searchProducts(SearchProductRequest payload, map<string|string[]> headers) returns SearchProductResponse|errorSearch a Product
Parameters
- payload SearchProductRequest - Request payload
Return Type
searchProductsByQuery
function searchProductsByQuery(string query, map<string|string[]> headers) returns SearchProductURLResponse|errorSearch a Product (URL)
Parameters
- query string - The query to be sent with the request
Return Type
sendDocumentToSign
function sendDocumentToSign(string typedId, CreateSignatureRequest payload, map<string|string[]> headers) returns CreateSignatureResponse|errorSend a Document to Sign
Parameters
- typedId string -
typedIdof the Compensation whose data you want to send via the e-signature system
- payload CreateSignatureRequest - Request payload
Return Type
sendEmail
function sendEmail(SendEmailRequest payload, map<string|string[]> headers) returns GenericDataResponse|errorSend an Email
Parameters
- payload SendEmailRequest - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
sendValidationMessage
function sendValidationMessage(NotificationSendBody payload, map<string|string[]> headers) returns GenericDataResponse|errorSend a Validation Message
Parameters
- payload NotificationSendBody - Request payload
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
setClicLostReason
function setClicLostReason(string typedId, MarkOfferLostWithReasonRequest payload, map<string|string[]> headers) returns SetClicLostReasonEnvelope|errorMark an Offer as Lost (with reason)
Parameters
- typedId string -
typedIdof the Quote you want set as lost
- payload MarkOfferLostWithReasonRequest - Request payload
Return Type
setDefaultPricingLogic
function setDefaultPricingLogic(string uniqueName, map<string|string[]> headers) returns SetDefaultPricingLogicResponse|errorSet a Default Pricing Logic
Parameters
- uniqueName string - The name (
uniqueName) of the logic that will be set as default. Leave blank to clear the default pricing logic
Return Type
setReviewAsDone
function setReviewAsDone(string typedId, record {} payload, map<string|string[]> headers) returns Response|errorSet a Review as Done
Parameters
- typedId string - typedId of the object to mark as reviewed
- payload record {} - Request payload
shouldSubmitRrgAsynchronously
function shouldSubmitRrgAsynchronously(string typedId, record {} payload, map<string|string[]> headers) returns CheckFileExistsEnvelope|errorShould Submit a RRG Asynchronously
Parameters
- typedId string -
typedIdof the Rebate Record Group you want to return the async threshold boolean for
- payload record {} - Request payload
Return Type
sqlQueryDataManagerObject
function sqlQueryDataManagerObject(DatamartSqlqueryBody payload, map<string|string[]> headers, *SqlQueryDataManagerObjectQueries queries) returns QueryDataManagerObjectResponse|errorSQL Query a Data Manager Object
Parameters
- payload DatamartSqlqueryBody -
sourcesthat SQL can use are query definitions. The sources become CTEs (Common Table Expression) in the final SQL. These are then used as a reference in the main query instead of referring to the actual tables directly. The request example compares the volume by month 2019 to 2020
- queries *SqlQueryDataManagerObjectQueries - Queries to be sent with the request
Return Type
submitChanges
function submitChanges(string typedId, ImportmanagerSubmittypedIdBody payload, map<string|string[]> headers) returns ImportManagerUploadEnvelope|errorSubmit Changes
Parameters
- typedId string - typedId of the import
- payload ImportmanagerSubmittypedIdBody - Request payload
Return Type
submitClaim
function submitClaim(string typedId, record {} payload, map<string|string[]> headers) returns SubmitClaimResponse|errorSubmit a Claim
Parameters
- typedId string -
typedIdof the Claim you want to submit
- payload record {} - Request payload
Return Type
- SubmitClaimResponse|error - OK
submitClic
function submitClic(string typedId, SubmitQuoteContractRebateAgreementRequest payload, map<string|string[]> headers) returns SubmitQuoteContractRebateAgreementResponse|errorSubmit a Quote/Contract/Rebate Agreement
Parameters
- typedId string - The
typedIdof the Contract, Quote, or Rebate Agreement you want to submit
- payload SubmitQuoteContractRebateAgreementRequest - Request payload
Return Type
submitContract
function submitContract(SubmitContractRequest payload, map<string|string[]> headers) returns ContractModelResponse|errorSubmit a Contract
Parameters
- payload SubmitContractRequest - Request payload
Return Type
- ContractModelResponse|error - Example response
submitDataChangeRequest
function submitDataChangeRequest(string id, record {} payload, map<string|string[]> headers) returns SubmitDCRResponse|errorSubmit a Data Change Request
Return Type
- SubmitDCRResponse|error - OK
submitDataChangeRequestAsync
function submitDataChangeRequestAsync(string id, record {} payload, map<string|string[]> headers) returns SubmitDCRAsyncResponse|errorSubmit a Data Change Request (async)
Return Type
submitModel
function submitModel(string typedId, record {} payload, map<string|string[]> headers) returns SaveModelResponse|errorSubmit a Model
Parameters
- typedId string - The
typedIdof the Model Object you want to submit
- payload record {} - Request payload
Return Type
- SaveModelResponse|error - OK. Returns the Model Object
submitPriceList
function submitPriceList(string id, PricelistmanagerSubmitidBody payload, map<string|string[]> headers) returns PriceListItemResponse|errorSubmit a Price List
Parameters
- id string - The ID of the Price List you want to submit. The
idis thetypedIdwithout the suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
- payload PricelistmanagerSubmitidBody - Request payload
Return Type
- PriceListItemResponse|error - Example response
submitProducts
function submitProducts(string id, SubmitProductsRequest payload, map<string|string[]> headers) returns SubmitProductsResponse|errorSubmit Products
Parameters
- id string - The
idof the Live Price Grid you want to submit items for. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
- payload SubmitProductsRequest - Request payload
Return Type
- SubmitProductsResponse|error - OK - In case that more than one item is passed in the request, the body will not contain any data (
"data":null). For a single item, the new PriceGridItem object is returned
submitQuote
function submitQuote(SubmitQuoteRequest payload, map<string|string[]> headers) returns QuoteResponse|errorSubmit a Quote
Parameters
- payload SubmitQuoteRequest - Request payload
Return Type
- QuoteResponse|error - Example response
submitRebateRecordGroup
function submitRebateRecordGroup(string typedId, record {} payload, map<string|string[]> headers) returns SubmitRebateRecordGroup|errorSubmit a Rebate Record Group
Parameters
- typedId string -
typedIdof the Rebate Record Group you want to submit
- payload record {} - Request payload
Return Type
syntaxCheck
function syntaxCheck(SyntaxCheckRequest payload, map<string|string[]> headers) returns error?Syntax Check
Parameters
- payload SyntaxCheckRequest - Request payload
Return Type
- error? - OK
testLogic
function testLogic(TestLogicRequest payload, map<string|string[]> headers) returns TestLogicEnvelope|errorTest a Logic
Parameters
- payload TestLogicRequest - Request payload
Return Type
- TestLogicEnvelope|error - OK
truncateTable
function truncateTable(string tableName, map<string|string[]> headers) returns TruncateKVTableResponse|errorTruncate a Table
Parameters
- tableName string - The table you want to remove the keys from
Return Type
undoCompensationPlanRevocation
function undoCompensationPlanRevocation(string typedId, map<string|string[]> headers) returns error?Undo Compensation Plan Revocation
Parameters
- typedId string - The typedId to be sent with the request
Return Type
- error? - OK
undoCompensationRecordRevocation
function undoCompensationRecordRevocation(string typedId, map<string|string[]> headers) returns error?Undo Compensation Record Revocation
Parameters
- typedId string - The typedId to be sent with the request
Return Type
- error? - OK
undoRebateAgreementRevocation
Undo Rebate Agreement Revocation
Parameters
- typedId string - The typedId to be sent with the request
Return Type
- error? - OK
undoRebateRecordGroupRevocation
function undoRebateRecordGroupRevocation(string typedId, map<string|string[]> headers) returns error?Undo Rebate Record Group Revocation
Parameters
- typedId string - The typedId to be sent with the request
Return Type
- error? - OK
undoRebateRecordRevocation
Undo Rebate Record Revocation
Parameters
- typedId string - The typedId to be sent with the request
Return Type
- error? - OK
undoRevokeContract
Undo Agreement & Promotion Revocation
Parameters
- typedId string - The typedId to be sent with the request
Return Type
- error? - OK
undoRevokeQuote
Undo Quote Revocation
Parameters
- typedId string - The typedId to be sent with the request
Return Type
- error? - OK
unresolveComment
function unresolveComment(string typedId, record {} payload, map<string|string[]> headers) returns ResolveCommentEnvelope|errorUnresolve a Comment
Return Type
updateActionItem
function updateActionItem(UpdateActionItemRequest payload, map<string|string[]> headers) returns UpdateActionItemResponse|errorUpdate an Action Item
Parameters
- payload UpdateActionItemRequest - Request payload
Return Type
updateActionType
function updateActionType(UpdateAITBody payload, map<string|string[]> headers) returns UpdateActionTypeResponse|errorUpdate an Action Type
Parameters
- payload UpdateAITBody - Request payload
Return Type
updateCalculationGrid
function updateCalculationGrid(UpdateCalculationGridRequest payload, map<string|string[]> headers) returns UpdateCalculationGridResponse|errorUpdate a Calculation Grid
Parameters
- payload UpdateCalculationGridRequest - Request payload
Return Type
updateCalculationGridItem
function updateCalculationGridItem(string id, UpdateCalculationGridItemRequest payload, map<string|string[]> headers) returns UpdateCalculationGridItemResponse|errorUpdate a Calculation Grid Item
Parameters
- id string -
idof the Calculation Grid Item you want to update
- payload UpdateCalculationGridItemRequest - Request payload
Return Type
updateClaim
function updateClaim(UpdateClaimRequest payload, map<string|string[]> headers) returns UpdateClaimResponse|errorUpdate a Claim
Parameters
- payload UpdateClaimRequest -
Return Type
- UpdateClaimResponse|error - OK
updateClaimType
function updateClaimType(UpdateClaimTypeRequest payload, map<string|string[]> headers) returns UpdateClaimTypeResponse|errorUpdate a Claim Type
Parameters
- payload UpdateClaimTypeRequest - Request payload
Return Type
updateClicLineItems
function updateClicLineItems(string typedId, UpdateCLICLineItemsRequest payload, map<string|string[]> headers) returns UpdateClicLineItemsEnvelope|errorUpdate CLIC Line Items
Parameters
- typedId string -
typedIdof the CLIC object (e.g., a Quote) you want to update line items for
- payload UpdateCLICLineItemsRequest - Request payload
Return Type
updateCompensationRecord
function updateCompensationRecord(UpdateCompensationRecordRequest payload, map<string|string[]> headers) returns UpdateCompensationRecordResponse|errorUpdate a Compensation Record
Parameters
- payload UpdateCompensationRecordRequest - Request payload
Return Type
updateCompensationType
function updateCompensationType(UpdateCompensationTypeRequest payload, map<string|string[]> headers) returns UpdateCompensationTypeEnvelope|errorUpdate a Compensation Type
Parameters
- payload UpdateCompensationTypeRequest - Request payload
Return Type
updateConditionRecordItemMeta
function updateConditionRecordItemMeta(UpdateCRCIMBody payload, map<string|string[]> headers) returns UpdateConditionRecordItemMetaEnvelope|errorUpdate a Condition Record Item Attribute Meta
Parameters
- payload UpdateCRCIMBody -
Return Type
updateConditionRecordSet
function updateConditionRecordSet(string id, ConditionrecordsetUpdateidBody payload, map<string|string[]> headers) returns ConditionRecordSetOperationEnvelope|errorUpdate a Condition Record Set
Parameters
- id string -
idof the ConditionRecordSet object you want to update
- payload ConditionrecordsetUpdateidBody - Request payload
Return Type
updateConditionType
function updateConditionType(UpdateConditionTypeRequest payload, map<string|string[]> headers) returns UpdateConditionTypeEnvelope|errorUpdate a Condition Type
Parameters
- payload UpdateConditionTypeRequest - Request payload
Return Type
updateConfigurationStorage
function updateConfigurationStorage(UpdateJCSBody payload, map<string|string[]> headers) returns ConfigurationStorageOperationEnvelope|errorUpdate a Configuration Storage
Parameters
- payload UpdateJCSBody - Request payload
Return Type
updateCustomForm
function updateCustomForm(UpdateCustomFormRequest payload, map<string|string[]> headers) returns UpdateCustomFormEnvelope|errorUpdate a Custom Form
Parameters
- payload UpdateCustomFormRequest - Request payload
Return Type
- UpdateCustomFormEnvelope|error - The Custom Form was updated successfully. The response includes the updated data
updateCustomFormType
function updateCustomFormType(UpdateCustomFormTypeRequest payload, map<string|string[]> headers) returns UpdateCustomFormTypeResponse|errorUpdate a Custom Form Type
Parameters
- payload UpdateCustomFormTypeRequest - Request payload
Return Type
updateCustomer
function updateCustomer(UpdateCustomerRequest payload, map<string|string[]> headers) returns CustomerResponse|errorUpdate a Customer
Parameters
- payload UpdateCustomerRequest -
Return Type
- CustomerResponse|error - Returns customer record details
updateDataChangeRequestItem
function updateDataChangeRequestItem(string id, UpdateDCRIRequest payload, map<string|string[]> headers) returns UpdateDCRIResponse|errorUpdate a Data Change Request Item
Parameters
- id string -
idof the Data Change Request whose item you want to update
- payload UpdateDCRIRequest - Request payload
Return Type
- UpdateDCRIResponse|error - OK
updateDataChangeRequestMassChanges
function updateDataChangeRequestMassChanges(string id, DcrmanagerUpdatemassopidBody payload, map<string|string[]> headers) returns DataChangeRequestMassChangeEnvelope|errorUpdate Data Change Request Mass Changes
Parameters
- id string -
idof the Data Change Request
- payload DcrmanagerUpdatemassopidBody - Request payload
Return Type
updateDataManagerEntity
function updateDataManagerEntity("DMF"|"DM"|"DMDS" typeCode, UpdateDataManagerEntityRequest payload, map<string|string[]> headers) returns DmObjectResponse|errorUpdate a Data Manager Entity
Parameters
- typeCode "DMF"|"DM"|"DMDS" - The type code of the Field Collection you want to update
- payload UpdateDataManagerEntityRequest - Either
uniqueNameortypedIdmust be provided in the request
Return Type
- DmObjectResponse|error - Example response
updateFile
function updateFile(string typedId, BdmanagerUpdatetypedIdBody payload, map<string|string[]> headers) returns UpdateFileEnvelope|errorUpdate a File
Parameters
- typedId string -
typedIdof the document whose attachment's metadata you want to update
- payload BdmanagerUpdatetypedIdBody - Request payload
Return Type
- UpdateFileEnvelope|error - OK
updateJobStatusTrackerEntry
function updateJobStatusTrackerEntry(OptimizationUpdatejstBody payload, map<string|string[]> headers) returns JobStatusTrackerUpdateEnvelope|errorUpdate Job Status Tracker Entry
Parameters
- payload OptimizationUpdatejstBody - Request payload
Return Type
- JobStatusTrackerUpdateEnvelope|error - JST updated
updateLivePriceGridItem
function updateLivePriceGridItem(string id, UpdateLivePriceGridItemRequest payload, map<string|string[]> headers) returns PriceGridItemResponse|errorUpdate a Live Price Grid Item
Parameters
- id string - The ID of the Price Grid whose item you want to update.
idis thetypedIdwithout PG suffix. For example, theidattribute of the item withtypedId= 649.PG is 649. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
- payload UpdateLivePriceGridItemRequest - We have performed an update action on the
commentsfield in our request sample >>>
Return Type
- PriceGridItemResponse|error - Example response
updateLivePriceGridItemNo
function updateLivePriceGridItemNo(string id, UpdateLivePriceGridItemNoRecalcRequest payload, map<string|string[]> headers) returns PriceGridItemResponse|errorUpdate a Live Price Grid Item (No Recalculation)
Parameters
- id string - The ID of the Price Grid whose item you want to update.
idis thetypedIdwithout PG suffix. For example, theidattribute of the item withtypedId= 649.PG is 649. You can retrieve theidof the LPG, for example, by calling the/fetch/PGendpoint
- payload UpdateLivePriceGridItemNoRecalcRequest - We have performed an update action on the
commentsfield in our request sample >>>
Return Type
- PriceGridItemResponse|error - Example response
updateLivePriceGridType
function updateLivePriceGridType(UpdatePGTTBody payload, map<string|string[]> headers) returns LivePriceGridTypeOperationEnvelope|errorUpdate a Live Price Grid Type
Parameters
- payload UpdatePGTTBody - Request payload
Return Type
updateLogic
function updateLogic(string id, record { data record { version decimal, typedId string, uniqueName string, label string, validAfter string, status string, simulationSet anydata, userGroupEdit anydata, userGroupViewDetails anydata, formulaNature anydata, lastUpdateByName string, elements record { version decimal, typedId string, elementName string, elementLabel string, elementDescription anydata, elementGroups string[], conditionElementName anydata, hideWarnings boolean, excludeFromExport boolean, protectedExpression boolean, elementTimeout decimal, displayOptions decimal, formatType string?, elementSuffix anydata, allowOverride boolean, summarize boolean, hideOnNull boolean, userGroup anydata, cssProperties anydata, resultGroup anydata, combinationType string, storeInAttributeExtension boolean, criticalAlert anydata, redAlert anydata, yellowAlert anydata, labelTranslations anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal, formulaExpression string }[], inputDescriptors record {}[], formulaType string, createdByName anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal } } payload, map<string|string[]> headers) returns LogicResponse|errorUpdate a Logic
Parameters
- id string - The ID of the logic. The
idis thetypedIdwithout the F suffix. For example, theidattribute of the item withtypedId= 2147484837.F is 2147484837
- payload record { data record { version decimal, typedId string, uniqueName string, label string, validAfter string, status string, simulationSet anydata, userGroupEdit anydata, userGroupViewDetails anydata, formulaNature anydata, lastUpdateByName string, elements record { version decimal, typedId string, elementName string, elementLabel string, elementDescription anydata, elementGroups string[], conditionElementName anydata, hideWarnings boolean, excludeFromExport boolean, protectedExpression boolean, elementTimeout decimal, displayOptions decimal, formatType string?, elementSuffix anydata, allowOverride boolean, summarize boolean, hideOnNull boolean, userGroup anydata, cssProperties anydata, resultGroup anydata, combinationType string, storeInAttributeExtension boolean, criticalAlert anydata, redAlert anydata, yellowAlert anydata, labelTranslations anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal, formulaExpression string }[], inputDescriptors record {}[], formulaType string, createdByName anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal } } - Request payload
Return Type
- LogicResponse|error - Example response
updateLogicNo
function updateLogicNo(string id, record { data record { version decimal, typedId string, uniqueName string, label string, validAfter string, status string, simulationSet anydata, userGroupEdit anydata, userGroupViewDetails anydata, formulaNature anydata, lastUpdateByName string, elements record { version decimal, typedId string, elementName string, elementLabel string, elementDescription anydata, elementGroups string[], conditionElementName anydata, hideWarnings boolean, excludeFromExport boolean, protectedExpression boolean, elementTimeout decimal, displayOptions decimal, formatType string?, elementSuffix anydata, allowOverride boolean, summarize boolean, hideOnNull boolean, userGroup anydata, cssProperties anydata, resultGroup anydata, combinationType string, storeInAttributeExtension boolean, criticalAlert anydata, redAlert anydata, yellowAlert anydata, labelTranslations anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal, formulaExpression string }[], inputDescriptors record {}[], formulaType string, createdByName anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal } } payload, map<string|string[]> headers) returns LogicResponse|errorUpdate a Logic (No syntax check)
Parameters
- id string - The ID of the logic. The
idis thetypedIdwithout the F suffix. For example, theidattribute of the item withtypedId= 2147484837.F is 2147484837
- payload record { data record { version decimal, typedId string, uniqueName string, label string, validAfter string, status string, simulationSet anydata, userGroupEdit anydata, userGroupViewDetails anydata, formulaNature anydata, lastUpdateByName string, elements record { version decimal, typedId string, elementName string, elementLabel string, elementDescription anydata, elementGroups string[], conditionElementName anydata, hideWarnings boolean, excludeFromExport boolean, protectedExpression boolean, elementTimeout decimal, displayOptions decimal, formatType string?, elementSuffix anydata, allowOverride boolean, summarize boolean, hideOnNull boolean, userGroup anydata, cssProperties anydata, resultGroup anydata, combinationType string, storeInAttributeExtension boolean, criticalAlert anydata, redAlert anydata, yellowAlert anydata, labelTranslations anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal, formulaExpression string }[], inputDescriptors record {}[], formulaType string, createdByName anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal } } - Request payload
Return Type
- LogicResponse|error - Example response
updateLogicPartial
function updateLogicPartial(string id, record { data record { version decimal, typedId string, uniqueName string, label string, validAfter string, status string, simulationSet anydata, userGroupEdit anydata, userGroupViewDetails anydata, formulaNature anydata, lastUpdateByName string, elements record { version decimal, typedId string, elementName string, elementLabel string, elementDescription anydata, elementGroups string[], conditionElementName anydata, hideWarnings boolean, excludeFromExport boolean, protectedExpression boolean, elementTimeout decimal, displayOptions decimal, formatType string?, elementSuffix anydata, allowOverride boolean, summarize boolean, hideOnNull boolean, userGroup anydata, cssProperties anydata, resultGroup anydata, combinationType string, storeInAttributeExtension boolean, criticalAlert anydata, redAlert anydata, yellowAlert anydata, labelTranslations anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal, formulaExpression string }[], inputDescriptors record {}[], formulaType string, createdByName anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal } } payload, map<string|string[]> headers) returns LogicResponse|errorUpdate a Logic (Partial)
Parameters
- id string - The ID of the logic. The
idis thetypedIdwithout the F suffix. For example, theidattribute of the item withtypedId= 2147484837.F is 2147484837
- payload record { data record { version decimal, typedId string, uniqueName string, label string, validAfter string, status string, simulationSet anydata, userGroupEdit anydata, userGroupViewDetails anydata, formulaNature anydata, lastUpdateByName string, elements record { version decimal, typedId string, elementName string, elementLabel string, elementDescription anydata, elementGroups string[], conditionElementName anydata, hideWarnings boolean, excludeFromExport boolean, protectedExpression boolean, elementTimeout decimal, displayOptions decimal, formatType string?, elementSuffix anydata, allowOverride boolean, summarize boolean, hideOnNull boolean, userGroup anydata, cssProperties anydata, resultGroup anydata, combinationType string, storeInAttributeExtension boolean, criticalAlert anydata, redAlert anydata, yellowAlert anydata, labelTranslations anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal, formulaExpression string }[], inputDescriptors record {}[], formulaType string, createdByName anydata, createDate string, createdBy decimal, lastUpdateDate string, lastUpdateBy decimal } } - Request payload
Return Type
- LogicResponse|error - Example response
updateLookupTable
function updateLookupTable(UpdateLookupTableRequest payload, map<string|string[]> headers) returns UpdateLookupTableResponse|errorUpdate a Lookup Table
Parameters
- payload UpdateLookupTableRequest -
Return Type
updateLookupTableValue
function updateLookupTableValue(string tableId, UpdateLookupTableValueRequest payload, map<string|string[]> headers) returns UpdateLookupTableValueResponse|errorUpdate a Lookup Table Value
Parameters
- tableId string - Enter the ID of the table. The ID can be retrieved using the
/lookuptablemanager.fetchmethod
- payload UpdateLookupTableValueRequest - Request payload
Return Type
updateManualPriceListItem
function updateManualPriceListItem(string id, UpdateManualPriceListRequest payload, map<string|string[]> headers) returns UpdateManualPriceListResponse|errorUpdate a Manual Price List Item
Parameters
- id string - The ID of the Manual Price List whose item you want to update
- payload UpdateManualPriceListRequest - Request payload
Return Type
updateObject
function updateObject(string typeCode, UpdateObjectRequest payload, map<string|string[]> headers) returns error?Update an Object
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- payload UpdateObjectRequest - <!-- theme: warning -->
Return Type
- error? - OK - contains the updated object
updateObjectReturningOldData
function updateObjectReturningOldData(string typeCode, UpdateObjectReturnOldDataRequest payload, map<string|string[]> headers) returns error?Update an Object (and return old data)
Parameters
- typeCode string - The object's type code. See the list of Type Codes
- payload UpdateObjectReturnOldDataRequest - <!-- theme: warning -->
Return Type
- error? - OK - contains the updated object and details of the previous version
updatePriceListDetail
function updatePriceListDetail(string id, UpdatePricelistDetailRequest payload, map<string|string[]> headers) returns UpdatePricelistDetailResponse|errorUpdate a Pricelist Detail
Parameters
- id string - The ID of the Price List whose Item you want to update. The
idis thetypedIdwithout the suffix. For example, theidattribute of the item withtypedId= 2147484837.PL is 2147484837
- payload UpdatePricelistDetailRequest - Request payload
Return Type
updatePriceListType
function updatePriceListType(UpdatePLTTBody payload, map<string|string[]> headers) returns PriceListTypeOperationEnvelope|errorUpdate a Price List Type
Parameters
- payload UpdatePLTTBody - Request payload
Return Type
updateProduct
function updateProduct(UpdateProductRequest payload, map<string|string[]> headers) returns ProductResponse|errorUpdate a Product
Parameters
- payload UpdateProductRequest - Updates specified fields of the record. Only one record can be updated per request (unless batched).<p>
Return Type
- ProductResponse|error - Returns full record details
updateQuoteContractRebateAgreement
function updateQuoteContractRebateAgreement(string typedId, ClicmanagerUpdatetypedIdBody payload, map<string|string[]> headers) returns UpdateClicEnvelope|errorUpdate a Quote/Contract/Rebate Agreement/Compensation Plan
Parameters
- typedId string - The
typedIdof the Compensation Plan you want to update
- payload ClicmanagerUpdatetypedIdBody - Request payload
Return Type
- UpdateClicEnvelope|error - OK
updateReviewStatus
function updateReviewStatus(string typedId, record {} payload, map<string|string[]> headers) returns GenericDataResponse|errorUpdate a Review Status
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
updateSeller
function updateSeller(UpdateSellerRequest payload, map<string|string[]> headers) returns UpdateSellerEnvelope|errorUpdate a Seller
Parameters
- payload UpdateSellerRequest - Request payload
Return Type
updateSellerExtension
function updateSellerExtension(UpdateSXBody payload, map<string|string[]> headers) returns UpdateSellerExtensionEnvelope|errorUpdate a Seller Extension
Parameters
- payload UpdateSXBody - Request payload
Return Type
updateUser
function updateUser(UpdateUserRequest payload, map<string|string[]> headers) returns UserResponse|errorUpdate a User
Parameters
- payload UpdateUserRequest - Specify the user by
typedIdand define the new value of the field you want to update in thedataobject
Return Type
- UserResponse|error - Example response
updateWorkflowDelegation
function updateWorkflowDelegation(UpdateWorkflowDelegationRequest payload, map<string|string[]> headers) returns UpdateWorkflowDelegationResponse|errorUpdate a Workflow Delegation
Parameters
- payload UpdateWorkflowDelegationRequest - Request payload
Return Type
uploadBulkDataToDataSource
function uploadBulkDataToDataSource(string datasourceUniqueName, UploadBulkDataToDataSourceRequest payload, map<string|string[]> headers) returns BulkDataUploadEnvelope|errorUpload a Bulk Data to Data Source
Parameters
- datasourceUniqueName string - The unique name of the Data Source where you want to upload the data to. You can also use
typedIdor the source name
- payload UploadBulkDataToDataSourceRequest - Request payload
Return Type
uploadExcelToImportManager
function uploadExcelToImportManager("P"|"PX" typeCode, string target, string slotId, TypeCodetargetBody payload, map<string|string[]> headers, *UploadExcelToImportManagerQueries queries) returns ImportManagerUploadEnvelope|errorUpload Excel to Import Manager
Parameters
- typeCode "P"|"PX" - Target object type code
- target string - Provides additional details about the target object, such as specifying a PX name if required
- slotId string - ID of the Upload Slot
- payload TypeCodetargetBody - Request payload
- queries *UploadExcelToImportManagerQueries - Queries to be sent with the request
Return Type
- ImportManagerUploadEnvelope|error - File uploaded successfully
uploadFile
function uploadFile(string typedId, string slotId, TypedIdslotIdBody payload, map<string|string[]> headers) returns FileOperationEnvelope|error- Upload a File
Parameters
- typedId string -
typedIdof the document you want to attach the file to
- slotId string - The ID of the slot you want to use for the upload. retrieve the slot ID using the
/uploadmanager.newuploadslot(Create an Upload Slot) endpoint
- payload TypedIdslotIdBody - Request payload
Return Type
uploadFileToPxCxSx
function uploadFileToPxCxSx("PX"|"CX"|"SX" typeCode, string target, string uploadSlotId, TargetuploadSlotIdBody payload, map<string|string[]> headers, *UploadFileToPxCxSxQueries queries) returns GenericDataResponse|errorUpload a File to PX/CX/SX
Parameters
- typeCode "PX"|"CX"|"SX" - Type code of the table you want to upload the file to
- target string - The name of the PX/CX/SX table
- uploadSlotId string -
idof the upload slot. Use the uploadslotmanager.newuploadslot endpoint to retrieve theid
- payload TargetuploadSlotIdBody - Request payload
- queries *UploadFileToPxCxSxQueries - Queries to be sent with the request
Return Type
- GenericDataResponse|error - A general response that contains
dataproperty with a content depending on returned objects (e.g., Product master table fields when calling the/fetch/Pendpoint). Can benull
uploadProductImage
function uploadProductImage(string slotId, string sku, TypedIdslotIdBody payload, map<string|string[]> headers) returns error?- Upload a File
Parameters
- slotId string - Enter the ID of the slot you want to use for the upload
- sku string - Enter the
skuof the product you want to add the product image to
- payload TypedIdslotIdBody - Request payload
Return Type
- error? - OK
upsertCompensationPlan
function upsertCompensationPlan(UpsertCompensationPlanRequest payload, map<string|string[]> headers) returns UpsertCompensationPlanResponse|errorUpsert a Compensation Plan
Parameters
- payload UpsertCompensationPlanRequest - Request payload
Return Type
upsertContract
function upsertContract(UpsertContractRequest payload, map<string|string[]> headers) returns ContractModelResponse|errorUpsert a Contract
Parameters
- payload UpsertContractRequest - Request payload
Return Type
- ContractModelResponse|error - Example response
upsertCustomer
function upsertCustomer(UpsertCustomerRequest payload, map<string|string[]> headers) returns CustomerResponse|errorUpsert a Customer
Parameters
- payload UpsertCustomerRequest - If the customer does not exist yet, at least the
customerIdmust be specified in the payload.<p>
Return Type
- CustomerResponse|error - Returns customer record details
upsertCustomerExtension
function upsertCustomerExtension(UpsertCustomerExtensionRequest payload, map<string|string[]> headers) returns UpsertCustomerExtensionResponse|errorUpsert a Customer Extension
Parameters
- payload UpsertCustomerExtensionRequest - Please note: The data sent in your request might be different from our sample request schema. Custom fields (
attribute1..attribute30) can be retrieved using the/fetch/CXAMoperation
Return Type
upsertKey
function upsertKey(string tableName, UpsertKVKeyRequest payload, map<string|string[]> headers) returns UpsertKVKeyResponse|errorUpsert a Key
Parameters
- tableName string - A name of the table you want to upsert the key into
- payload UpsertKVKeyRequest -
Return Type
- UpsertKVKeyResponse|error - OK. Returns
"data" : nullwhen successfully inserted/updated
upsertLookupTableValue
function upsertLookupTableValue(string tableId, UpsertLookupTableValueRequest payload, map<string|string[]> headers) returns UpsertLookupTableValueResponse|errorUpsert a Lookup Table Value
Parameters
- tableId string - Enter the ID of the table. The ID can be retrieved using the
/lookuptablemanager.fetchmethod
- payload UpsertLookupTableValueRequest - Request payload
Return Type
upsertManualPriceListProduct
function upsertManualPriceListProduct(string id, UpsertProductManualPriceListRequest payload, map<string|string[]> headers) returns ProductResponse|errorUpsert a Product in a Manual Price List
Parameters
- id string - The ID of the Manual Price List whose product you want to create or update
- payload UpsertProductManualPriceListRequest -
Return Type
- ProductResponse|error - Returns full record details
upsertObject
function upsertObject("ACTT"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CLLI"|"CN"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DREG"|"DWT"|"ET"|"EVT"|"F"|"FE"|"FN"|"IDC"|"IE"|"ISH"|"JST"|"JLTV"|"JLTVM"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"P"|"PAM"|"PAPIJ"|"PBOME"|"PCOMP"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" typeCode, UpsertObjectRequest payload, map<string|string[]> headers) returns ProductResponse|errorUpsert an Object
Parameters
- typeCode "ACTT"|"AP"|"APIK"|"BD"|"BPT"|"BR"|"C"|"CA"|"CAM"|"CDESC"|"CF"|"CFS"|"CFT"|"CH"|"CLLI"|"CN"|"CS"|"CT"|"CTAM"|"CTLI"|"CTMU"|"CTMUI"|"CTT"|"CTTAM"|"CTTREE"|"CW"|"CX"|"CXAM"|"DA"|"DB"|"DCR"|"DCRAM"|"DCRI"|"DCRL"|"DCRMC"|"DCRT"|"DE"|"DI"|"DM"|"DMDC"|"DMDL"|"DMDS"|"DMF"|"DMM"|"DMR"|"DMT"|"DREG"|"DWT"|"ET"|"EVT"|"F"|"FE"|"FN"|"IDC"|"IE"|"ISH"|"JST"|"JLTV"|"JLTVM"|"LAT"|"LT"|"LTT"|"LTV"|"M"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"|"MPL"|"MPLAM"|"MPLI"|"MPLIT"|"MPLT"|"MR"|"MRAM"|"MT"|"P"|"PAM"|"PAPIJ"|"PBOME"|"PCOMP"|"PCW"|"PDESC"|"PG"|"PGI"|"PGIM"|"PGT"|"PH"|"PL"|"PLI"|"PLIM"|"PLT"|"PR"|"PRAM"|"PREF"|"PT"|"PWH"|"PX"|"PXAM"|"PXREF"|"PYR"|"PYRAM"|"Q"|"QAM"|"QLI"|"QMU"|"QMUI"|"QT"|"QTT"|"QTTAM"|"R"|"RAT"|"RATM"|"RBA"|"RBAAM"|"RBALI"|"RBAT"|"RBT"|"RBTAM"|"RR"|"RRAM"|"RRS"|"RRSC"|"RT"|"SAT"|"SC"|"SCN"|"SCNAM"|"SCT"|"SIAM"|"SIM"|"SIMI"|"TFA"|"TODO"|"U"|"UG"|"US"|"W"|"WD"|"WF"|"WFE"|"XPGI"|"XPLI"|"XSIMI" - Enter the Type code of the entity you want to insert a data to. See the list of Type codes in the Pricefx Knowledge Base article
- payload UpsertObjectRequest - The
/integrate/Pendpoint (Upsert a Product) is used in our example.<p>
Return Type
- ProductResponse|error - Returns full record details
upsertObjectReturningOldData
function upsertObjectReturningOldData(TypeCodeEnum typeCode, UpsertObjectReturnOldDataRequest payload, map<string|string[]> headers) returns UpsertObjectReturnOldDataResponse|errorUpsert an Object (and return old data)
Parameters
- typeCode TypeCodeEnum - Specify the type code for the entity you want to work with. See the list of Type Codes in the Pricefx Knowledge Base article.'
- payload UpsertObjectReturnOldDataRequest - The
/integrate/P/returnolddataendpoint (upserts a product) is used in our example.<p>
Return Type
upsertProduct
function upsertProduct(UpsertProductRequest payload, map<string|string[]> headers) returns ProductResponse|errorUpsert a Product
Parameters
- payload UpsertProductRequest - Either
skuortypedIdmust be specified in order to update an existing product
Return Type
- ProductResponse|error - Returns full record details
upsertProductExtension
function upsertProductExtension(UpsertProductExtensionRequest payload, map<string|string[]> headers) returns ProductResponse|errorUpsert a Product Extension
Parameters
- payload UpsertProductExtensionRequest - Request payload
Return Type
- ProductResponse|error - Returns full record details
upsertQuote
function upsertQuote(UpsertQuoteRequest payload, map<string|string[]> headers) returns QuoteResponse|errorUpsert a Quote
Parameters
- payload UpsertQuoteRequest - Request payload
Return Type
- QuoteResponse|error - Example response
upsertRebateAgreement
function upsertRebateAgreement(UpsertRebateAgreementRequest payload, map<string|string[]> headers) returns RebateAgreementResponse|errorUpsert a Rebate Agreement
Parameters
- payload UpsertRebateAgreementRequest - Request payload
Return Type
- RebateAgreementResponse|error - Example response
validateItems
function validateItems(string typedId, ValidateClaimItemsRequest payload, map<string|string[]> headers) returns ValidateClaimItemsResponse|errorValidate Items
Parameters
- typedId string - The
typedIdof the Claim whose items you want to validate
- payload ValidateClaimItemsRequest - Request payload
Return Type
validateWorkflowDelegation
function validateWorkflowDelegation(ValidateWorkflowDelegationRequest payload, map<string|string[]> headers) returns ValidateWorkflowDelegationResponse|errorValidate a Workflow Delegation
Parameters
- payload ValidateWorkflowDelegationRequest - Request payload
Return Type
withdrawDocument
function withdrawDocument(string currentStepId, map<string|string[]> headers) returns WithdrawDocumentResponse|errorWithdraw a Document
Parameters
- currentStepId string - The ID of the workflow step. It can be retrieved using the
/workflowsmanager.fetch/active(List Pending Approvals) endpoint
Return Type
Records
pricefx: BasicCredentials
Your regular Pricefx login, which the connector turns into a reusable session token.
Pricefx charges a deliberate penalty on Basic authenticated requests - roughly 500ms, because "the password verification is intentionally slow to mitigate brute-force password guess attacks"
- and hands back an
X-PriceFx-jwtsession token on the first such call. The connector therefore authenticates once when the client is created and uses that token for everything afterwards, so the penalty is paid once per client rather than on every request. When the token expires the connector obtains a new one and replays the request, so nothing is required of the caller.
Fields
- username string - Your Pricefx username
- password string - Your Pricefx password
- partition string - The partition to authenticate against. Pricefx requires the Basic auth credential to be
<partition>/<username>:<password>; the connector assembles that for you
pricefx: ConnectionConfig
Provides a set of configurations for controlling the behaviours when communicating with a remote HTTP endpoint.
Fields
- auth PricefxCredentials - How to authenticate. Pick the
PricefxCredentialsrecord matching the credentials you hold - the compiler will hold you to that choice
- httpVersion HttpVersion(default http:HTTP_2_0) - The HTTP version understood by the client
- http1Settings? ClientHttp1Settings - Configurations related to HTTP/1.x protocol
- http2Settings? ClientHttp2Settings - Configurations related to HTTP/2 protocol
- timeout decimal(default 60) - The maximum time to wait (in seconds) for a response before closing the connection
- forwarded string(default "disable") - The choice of setting
forwarded/x-forwardedheader
- poolConfig? PoolConfiguration - Configurations associated with request pooling
- cache? CacheConfig - HTTP caching related configurations
- compression Compression(default http:COMPRESSION_AUTO) - Specifies the way of handling compression (
accept-encoding) header
- circuitBreaker? CircuitBreakerConfig - Configurations associated with the behaviour of the Circuit Breaker
- retryConfig? RetryConfig - Configurations associated with retrying
- responseLimits? ResponseLimitConfigs - Configurations associated with inbound response size limits
- secureSocket? ClientSecureSocket - SSL/TLS-related options
- proxy? ProxyConfig - Proxy server related options
- validation boolean(default true) - Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default
- laxDataBinding boolean(default true) - Enables relaxed data binding on the client side. When enabled,
nilvalues are treated as optional, and absent fields are handled asnilabletypes. Enabled by default.
pricefx: ExternalJwtCredentials
A JWT signed by a system Pricefx has been configured to trust.
Requires a trust relationship on the Pricefx side (an externalJWTConfiguration entry naming
your system and holding its public key). The token is sent as
Authorization: Bearer <systemName>;<jwt>, which is a Pricefx-specific value rather than a
standard bearer token.
Fields
- systemName string - The external system's name, as configured in
externalJWTConfiguration
- jwt string - A JWT signed by that system
pricefx: JwtCredentials
A Pricefx-issued JWT you already hold.
Sent as-is via X-PriceFx-jwt. Nothing is exchanged, so creating the client performs no network
call at all - the cheapest of the options here.
Intended for the non-expiring integration tokens produced by generateJwtToken (or the
time-limited ones from generateTimedJwtToken), which you obtain once and keep in configuration.
The connector cannot refresh a token supplied this way, as it holds no credentials to
re-authenticate with: if the token is rejected the error surfaces to you rather than being
retried. That is correct for a non-expiring token, but a short-lived session token pasted in here
will eventually stop working - use BasicCredentials if you want renewal handled for you.
Fields
- jwt string - The Pricefx-issued JWT to send on every request
pricefx: OAuth2Credentials
OAuth 2.0, using a refresh token you obtained beforehand.
The initial authorization-code exchange needs an interactive browser redirect and so cannot be automated by this connector (or any library) - do it once out of band and keep the refresh token. From then on Ballerina's HTTP layer fetches an access token before the first request that needs one and silently renews it on expiry.
Fields
- clientId string - The client identifier, as registered in Pricefx's
oauthConfiguration
- clientSecret? string - The client secret, if one was configured for this client
- refreshToken string - A refresh token from a completed Authorization Code Grant flow
Union types
pricefx: PricefxCredentials
PricefxCredentials
How to authenticate with Pricefx. Pick the record matching the credentials you hold; the compiler then holds you to that choice, rather than accepting any mixture of loose optional fields.
Import
import ballerinax/pricefx;Other versions
0.1.0
Metadata
Released date: 1 day ago
Version: 0.1.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.12.0
GraalVM compatible: Yes
Pull count
Total: 6
Current verison: 2
Weekly downloads
Keywords
Name/Pricefx
Area/CRM & Sales
Vendor/Pricefx
Cost/Paid
Type/Connector
Pricefx
Pricing
CPQ
Contributors