Skip to main content

Actions

The ballerinax/pricefx package exposes the following clients:

ClientPurpose
ClientProvides access to the Pricefx Backend API for managing products, customers, sellers, price lists, calculation grids, quotes, contracts, rebate agreements, sales compensations, attachments, and more.

Client

Configuration

PricefxCredentials

PricefxCredentials is a union of four records - BasicCredentials, JwtCredentials, OAuth2Credentials, or ExternalJwtCredentials. Pick the one matching the credentials you hold and pass it as the auth field of ConnectionConfig.

BasicCredentials

FieldTypeDefaultDescription
usernamestringRequiredYour Pricefx username
passwordstringRequiredYour Pricefx password
partitionstringRequiredYour Pricefx partition name

JwtCredentials

FieldTypeDefaultDescription
jwtstringRequiredA Pricefx-issued JWT you already hold, sent directly as the X-PriceFx-jwt header, with no exchange. Intended for the non-expiring integration tokens produced by generateJwtToken (or the time-limited ones from generateTimedJwtToken). Cannot be refreshed by the connector - a rejected token surfaces as an error rather than being retried, so avoid pasting in a short-lived session token here

OAuth2Credentials

FieldTypeDefaultDescription
clientIdstringRequiredThe client identifier, as registered in Pricefx's oauthConfiguration
clientSecretstringOptionalThe client secret, if one was configured for this client
refreshTokenstringRequiredA refresh token from a completed Authorization Code Grant flow

ExternalJwtCredentials

FieldTypeDefaultDescription
systemNamestringRequiredThe external system's name, as configured in externalJWTConfiguration
jwtstringRequiredA JWT signed by that system

ConnectionConfig

Provides a set of configurations for controlling the behaviours when communicating with the Pricefx API.

FieldTypeDefaultDescription
authPricefxCredentialsRequiredHow to authenticate - one of the four PricefxCredentials records above
httpVersionhttp:HttpVersionhttp:HTTP_2_0The HTTP version understood by the client
http1Settingspricefx:ClientHttp1SettingsOptionalConfigurations related to HTTP/1.x protocol
http2Settingshttp:ClientHttp2SettingsOptionalConfigurations related to HTTP/2 protocol
timeoutdecimal60The maximum time to wait (in seconds) for a response before closing the connection
forwardedstring"disable"The choice of setting forwarded/x-forwarded header
poolConfighttp:PoolConfigurationOptionalConfigurations associated with request pooling
cachehttp:CacheConfigOptionalHTTP caching related configurations
compressionhttp:Compressionhttp:COMPRESSION_AUTOSpecifies the way of handling compression (accept-encoding) header
circuitBreakerhttp:CircuitBreakerConfigOptionalConfigurations associated with the behaviour of the Circuit Breaker
retryConfighttp:RetryConfigOptionalConfigurations associated with retrying
responseLimitshttp:ResponseLimitConfigsOptionalConfigurations associated with inbound response size limits
secureSockethttp:ClientSecureSocketOptionalSSL/TLS-related options
proxyhttp:ProxyConfigOptionalProxy server related options
validationbooleantrueEnables the inbound payload validation functionality provided by the constraint package
laxDataBindingbooleantrueEnables relaxed data binding on the client side, treating nil values and absent fields as optional

Initializing the client

import ballerinax/pricefx;

configurable string username = ?;
configurable string password = ?;
configurable string partition = ?;
configurable string serviceUrl = ?;

pricefx:Client pricefxClient = check new ({auth: {username, password, partition}}, serviceUrl);

Operations

User Admin

addUser

Add a User

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddUserRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UserResponse|error

Sample code:

pricefx:UserResponse result = check pricefxClient->addUser(payload);
assignBusinessRole

Assign a Business Role

Parameters:

NameTypeRequiredDescription
payloadpricefx:AssignBusinessRoleRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignBusinessRoleResponse|error

Sample code:

pricefx:AssignBusinessRoleResponse result = check pricefxClient->assignBusinessRole(payload);
assignBusinessRoleToUser

Assign a Business Role to a User

Parameters:

NameTypeRequiredDescription
userIdstringYesThe ID of the user you want to assign a role to. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
payloadpricefx:AssignBusinessRoleToUserRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignBusinessRoleToUserResponse|error

Sample code:

pricefx:AssignBusinessRoleToUserResponse result = check pricefxClient->assignBusinessRoleToUser(userId, payload);
assignGroupToBusinessRole

Assign a Group to a Business Role

Parameters:

NameTypeRequiredDescription
payloadpricefx:AssignGroupToBusinessRoleRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignGroupToBusinessRoleResponse|error

Sample code:

pricefx:AssignGroupToBusinessRoleResponse result = check pricefxClient->assignGroupToBusinessRole(payload);
assignRoleToBusinessRole

Assign a Role to a Business Role

Parameters:

NameTypeRequiredDescription
payloadpricefx:AssignRoleToBusinessRoleRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignRoleToBusinessRoleResponse|error

Sample code:

pricefx:AssignRoleToBusinessRoleResponse result = check pricefxClient->assignRoleToBusinessRole(payload);
assignRoleToUser

Assign a Role to a User

Parameters:

NameTypeRequiredDescription
userIdstringYesThe ID of the user you want to assign a role to. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
payloadpricefx:AssignRoleToUserRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignRoleToUserResponse|error

Sample code:

pricefx:AssignRoleToUserResponse result = check pricefxClient->assignRoleToUser(userId, payload);
assignRoleToUsers

Assign a Role to Users

Parameters:

NameTypeRequiredDescription
payloadpricefx:AssignRoleToUsersRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignRoleToUsersResponse|error

Sample code:

pricefx:AssignRoleToUsersResponse result = check pricefxClient->assignRoleToUsers(payload);
assignUserGroupToUsers

Assign a User Group to Users

Parameters:

NameTypeRequiredDescription
payloadpricefx:AssignUserGroupToUsersRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignUserGroupToUsersResponse|error

Sample code:

pricefx:AssignUserGroupToUsersResponse result = check pricefxClient->assignUserGroupToUsers(payload);
assignUserToUserGroup

Assign a User to a User Group

Parameters:

NameTypeRequiredDescription
userIdstringYesThe ID of the user you want to add to the group. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
payloadpricefx:AssignUserToUserGroupRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignUserToUserGroupResponse|error

Sample code:

pricefx:AssignUserToUserGroupResponse result = check pricefxClient->assignUserToUserGroup(userId, payload);
changeCurrentUserPassword

Change a Current User Password

Parameters:

NameTypeRequiredDescription
payloadpricefx:ChangeCurrentUserPasswordRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ChangeCurrentUserPasswordResponse|error

Sample code:

pricefx:ChangeCurrentUserPasswordResponse result = check pricefxClient->changeCurrentUserPassword(payload);
changeUserPassword

Change a User Password

Parameters:

NameTypeRequiredDescription
userIdstringYesEnter the ID of the user whose password you want to change. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
payloadpricefx:ChangeUserPasswordRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ChangeUserPasswordResponse|error

Sample code:

pricefx:ChangeUserPasswordResponse result = check pricefxClient->changeUserPassword(userId, payload);
copyRoles

Copy Roles + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:CopyRolesRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CopyRolesResponse|error

Sample code:

pricefx:CopyRolesResponse result = check pricefxClient->copyRoles(payload);
copyUser

Copy a User

Parameters:

NameTypeRequiredDescription
useridstringYesThe ID of the user you want to copy. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CopyUserResponse|error

Sample code:

pricefx:CopyUserResponse result = check pricefxClient->copyUser(userid);
deleteBusinessRole

Delete a Business Role

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteBusinessRoleRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteBusinessRoleResponse|error

Sample code:

pricefx:DeleteBusinessRoleResponse result = check pricefxClient->deleteBusinessRole(payload);
deleteUser

Delete a User

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteUserRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UserResponse|error

Sample code:

pricefx:UserResponse result = check pricefxClient->deleteUser(payload);
deleteUserGroup

Delete a User Group

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteUserGroupRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteUserGroupResponse|error

Sample code:

pricefx:DeleteUserGroupResponse result = check pricefxClient->deleteUserGroup(payload);
generateJwtToken

Generate a JWT Token

Parameters:

NameTypeRequiredDescription
payloadpricefx:GenerateJWTTokenRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenerateJWTTokenResponse|error

Sample code:

pricefx:GenerateJWTTokenResponse result = check pricefxClient->generateJwtToken(payload);
generateTimedJwtToken

Generate a JWT Token (time limited)

Parameters:

NameTypeRequiredDescription
minutesstringYesThe number of minutes in which the token expires
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenerateJWTTokenTimeLimitedResponse|error

Sample code:

pricefx:GenerateJWTTokenTimeLimitedResponse result = check pricefxClient->generateTimedJwtToken(minutes);
getOneTimeToken

Get a One Time Token

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetOneTimeTokenResponse|error

Sample code:

pricefx:GetOneTimeTokenResponse result = check pricefxClient->getOneTimeToken();
getUserAuditReport

Get a User Audit Report

Parameters:

NameTypeRequiredDescription
typeCode"R"|"UG"|"BR"YesSpecify whether you want to retrieve a report based on user roles (R), user groups (UG), or business roles (BR)
idstringYesSpecify 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/BR endpoint to retrieve a list with corresponding user roles, user groups, or business roles
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UserAuditReportEnvelope|error

Sample code:

pricefx:UserAuditReportEnvelope result = check pricefxClient->getUserAuditReport(typeCode, id, payload);
listGroupsOfBusinessRole

List Groups of the Business Role

Parameters:

NameTypeRequiredDescription
businessroleIdstringYesThe ID of the business role you want to retrieve user roles for. The businessroleId is the typedId without the BR suffix. For example, businessroleId of the 53.BR is 53
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListGroupsOfBusinessRoleResponse|error

Sample code:

pricefx:ListGroupsOfBusinessRoleResponse result = check pricefxClient->listGroupsOfBusinessRole(businessroleId);
listRolesOfBusinessRole

List Roles of the Business Role

Parameters:

NameTypeRequiredDescription
businessroleIdstringYesThe ID of the business role you want to retrieve user roles for. The businessroleId is the typedId without the BR suffix. For example, businessroleId of the 53.BR is 53
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListRolesOfBusinessRoleResponse|error

Sample code:

pricefx:ListRolesOfBusinessRoleResponse result = check pricefxClient->listRolesOfBusinessRole(businessroleId);
listUserSBusinessRoles

List User's Business Roles

Parameters:

NameTypeRequiredDescription
userIdstringYesThe ID of the user you want to retrieve business roles for. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListUserBusinessRolesResponse|error

Sample code:

pricefx:ListUserBusinessRolesResponse result = check pricefxClient->listUserSBusinessRoles(userId);
listUserSRoles

List User's Roles

Parameters:

NameTypeRequiredDescription
userIdstringYesThe ID of the user you want to retrieve roles for. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListUserRolesResponse|error

Sample code:

pricefx:ListUserRolesResponse result = check pricefxClient->listUserSRoles(userId);
listUserSUserGroups

List User's User Groups

Parameters:

NameTypeRequiredDescription
userIdstringYesThe ID of the user you want to retrieve groups for. The userId is the typedId without the U suffix. For example, userId of the 2147490806.U is 2147490806
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListUsersUserGroupsResponse|error

Sample code:

pricefx:ListUsersUserGroupsResponse result = check pricefxClient->listUserSUserGroups(userId);
listUsers

List Users

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListUsersRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListUsersResponse|error

Sample code:

pricefx:ListUsersResponse result = check pricefxClient->listUsers(payload);
updateUser

Update a User

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateUserRequestYesSpecify the user by typedId and define the new value of the field you want to update in the data object
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UserResponse|error

Sample code:

pricefx:UserResponse result = check pricefxClient->updateUser(payload);

Products

addProduct

Add a Product

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddProductRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->addProduct(payload);
bulkInsertProducts

Insert Bulk Products

Parameters:

NameTypeRequiredDescription
payloadpricefx:InsertBulkProductsRequestYesSpecify product field names in the header object and fields values in the data object.<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LoadDataResponse|error

Sample code:

pricefx:LoadDataResponse result = check pricefxClient->bulkInsertProducts(payload);
deleteProduct

Delete a Product

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteProductRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteProductResponse|error

Sample code:

pricefx:DeleteProductResponse result = check pricefxClient->deleteProduct(payload);
getProductBomTree

List BoM for a Product

Parameters:

NameTypeRequiredDescription
skustringYesThe sku of the product you want to retrieve the Bill of Materials for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListBoMForProductResponse|error

Sample code:

pricefx:ListBoMForProductResponse result = check pricefxClient->getProductBomTree(sku);
listProducts

List Products

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListProductsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->listProducts(payload);
listRecommendations

List Recommendations

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListRecommendationsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListRecommendationsEnvelope|error

Sample code:

pricefx:ListRecommendationsEnvelope result = check pricefxClient->listRecommendations(payload);
searchProducts

Search a Product

Parameters:

NameTypeRequiredDescription
payloadpricefx:SearchProductRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SearchProductResponse|error

Sample code:

pricefx:SearchProductResponse result = check pricefxClient->searchProducts(payload);
searchProductsByQuery

Search a Product (URL)

Parameters:

NameTypeRequiredDescription
querystringYesThe query to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SearchProductURLResponse|error

Sample code:

pricefx:SearchProductURLResponse result = check pricefxClient->searchProductsByQuery(query);
updateProduct

Update a Product

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateProductRequestYesUpdates specified fields of the record. Only one record can be updated per request (unless batched).<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->updateProduct(payload);
upsertProduct

Upsert a Product

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertProductRequestYesEither sku or typedId must be specified in order to update an existing product
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->upsertProduct(payload);

Product Extensions

deleteProductExtension

Delete a Product Extension

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteProductExtensionRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteProductExtensionResponse|error

Sample code:

pricefx:DeleteProductExtensionResponse result = check pricefxClient->deleteProductExtension(payload);
getProductAttributeMeta

Get Product Attribute Meta

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductAttributeMetaEnvelope|error

Sample code:

pricefx:ProductAttributeMetaEnvelope result = check pricefxClient->getProductAttributeMeta(payload);
insertBulkProductExtensions

Insert Bulk Product Extensions

Parameters:

NameTypeRequiredDescription
payloadpricefx:InsertBulkProductExtensionsRequestYesSpecify product extension field names in the header object and field values in the data object
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->insertBulkProductExtensions(payload);
listProductExtensionObjects

List Product Extension Objects

Parameters:

NameTypeRequiredDescription
productMasterExtensionNamestringYesEnter 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
payloadpricefx:ListProductExtensionObjectsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ListProductExtensionObjectsQueriesYesQueries to be sent with the request

Returns: pricefx:ProductExtensionResponse|error

Sample code:

pricefx:ProductExtensionResponse result = check pricefxClient->listProductExtensionObjects(productMasterExtensionName, payload, queries);
upsertProductExtension

Upsert a Product Extension

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertProductExtensionRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->upsertProductExtension(payload);

Product Image

deleteUploadSlotViaGet
  1. Delete an Upload Slot

Parameters:

NameTypeRequiredDescription
slotIdstringYesEnter the ID of the slot you want to delete
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteUploadSlotResponse|error

Sample code:

pricefx:DeleteUploadSlotResponse result = check pricefxClient->deleteUploadSlotViaGet(slotId);
getNewUploadSlot
  1. Create an Upload Slot

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CreateUploadSlotResponse|error

Sample code:

pricefx:CreateUploadSlotResponse result = check pricefxClient->getNewUploadSlot();
uploadProductImage
  1. Upload a File

Parameters:

NameTypeRequiredDescription
slotIdstringYesEnter the ID of the slot you want to use for the upload
skustringYesEnter the sku of the product you want to add the product image to
payloadpricefx:TypedIdslotIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->uploadProductImage(slotId, sku, payload);

Competition Data

getProductCompetition

Get Competition Data

Parameters:

NameTypeRequiredDescription
payloadpricefx:GetCompetitionDataRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetCompetitionDataResponse|error

Sample code:

pricefx:GetCompetitionDataResponse result = check pricefxClient->getProductCompetition(payload);
getProductSetCompetition

Get a Product Set

Parameters:

NameTypeRequiredDescription
labelstringYesEnter the name of the product set you want to retrieve
payloadpricefx:GetProductSetRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetProductSetResponse|error

Sample code:

pricefx:GetProductSetResponse result = check pricefxClient->getProductSetCompetition(label, payload);
importProductCompetition

Import Competition Data

Parameters:

NameTypeRequiredDescription
payloadpricefx:ImportCompetitionDataRequestYesThe competition product details
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ImportCompetitionDataResponse|error

Sample code:

pricefx:ImportCompetitionDataResponse result = check pricefxClient->importProductCompetition(payload);
listProductSets

List Product Sets

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListProductSetsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListProductSetsResponse|error

Sample code:

pricefx:ListProductSetsResponse result = check pricefxClient->listProductSets(payload);

Customers

addCustomer

Add a Customer

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddCustomerRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CustomerResponse|error

Sample code:

pricefx:CustomerResponse result = check pricefxClient->addCustomer(payload);
assignCustomers

Assign Customers

Parameters:

NameTypeRequiredDescription
payloadpricefx:AssignCustomersRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignmentResponse|error

Sample code:

pricefx:AssignmentResponse result = check pricefxClient->assignCustomers(payload);
bulkInsertCustomers

Insert Bulk Customers

Parameters:

NameTypeRequiredDescription
payloadpricefx:InsertBulkCustomersRequestYesSpecify customer field names in the header object and fields values in the data object.<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LoadDataResponse|error

Sample code:

pricefx:LoadDataResponse result = check pricefxClient->bulkInsertCustomers(payload);
deleteCustomer

Delete a Customer

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCustomerRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCustomerResponse|error

Sample code:

pricefx:DeleteCustomerResponse result = check pricefxClient->deleteCustomer(payload);
getCustomer

Get a Customer

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Customer you want to retrieve details for. The id is the typedId without the C suffix. For example, the id parameter of the item with typedId = 2147492200.C is 2147492200
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CustomerResponse|error

Sample code:

pricefx:CustomerResponse result = check pricefxClient->getCustomer(id);
listCustomerAssignments

List Customer Assignments

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the entity you want to retrieve assignments for
payloadpricefx:ListCustomerAssignmentsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AssignmentResponse|error

Sample code:

pricefx:AssignmentResponse result = check pricefxClient->listCustomerAssignments(typedId, payload);
listCustomers

List Customers

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListCustomersRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CustomerResponse|error

Sample code:

pricefx:CustomerResponse result = check pricefxClient->listCustomers(payload);
updateCustomer

Update a Customer + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCustomerRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CustomerResponse|error

Sample code:

pricefx:CustomerResponse result = check pricefxClient->updateCustomer(payload);
upsertCustomer

Upsert a Customer

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertCustomerRequestYesIf the customer does not exist yet, at least the customerId must be specified in the payload.<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CustomerResponse|error

Sample code:

pricefx:CustomerResponse result = check pricefxClient->upsertCustomer(payload);

Customer Extensions

deleteCustomerExtension

Delete a Customer Extension

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCustomerExtensionRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCustomerExtensionResponse|error

Sample code:

pricefx:DeleteCustomerExtensionResponse result = check pricefxClient->deleteCustomerExtension(payload);
insertBulkCustomerExtensions

Insert Bulk Customer Extensions

Parameters:

NameTypeRequiredDescription
payloadpricefx:InsertBulkCustomerExtensionsRequestYesSpecify customer extension field names in the header object and field values in the data object.<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LoadDataResponse|error

Sample code:

pricefx:LoadDataResponse result = check pricefxClient->insertBulkCustomerExtensions(payload);
listCustomerExtensionObjects

List Customer Extension Objects

Parameters:

NameTypeRequiredDescription
customerMasterExtensionNamestringYesEnter 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
payloadpricefx:ListCustomerExtensionObjectsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ListCustomerExtensionObjectsQueriesYesQueries to be sent with the request

Returns: pricefx:ListCustomerExtensionObjectsResponse|error

Sample code:

pricefx:ListCustomerExtensionObjectsResponse result = check pricefxClient->listCustomerExtensionObjects(customerMasterExtensionName, payload, queries);
uploadFileToPxCxSx

Upload a File to PX/CX/SX

Parameters:

NameTypeRequiredDescription
typeCode"PX"|"CX"|"SX"YesType code of the table you want to upload the file to
targetstringYesThe name of the PX/CX/SX table
uploadSlotIdstringYesid of the upload slot. Use the uploadslotmanager.newuploadslot endpoint to retrieve the id
payloadpricefx:TargetuploadSlotIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:UploadFileToPxCxSxQueriesYesQueries to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->uploadFileToPxCxSx(typeCode, target, uploadSlotId, payload, queries);
upsertCustomerExtension

Upsert a Customer Extension

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertCustomerExtensionRequestYesPlease 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/CXAM operation
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpsertCustomerExtensionResponse|error

Sample code:

pricefx:UpsertCustomerExtensionResponse result = check pricefxClient->upsertCustomerExtension(payload);

Sellers

addSeller

Add a Seller

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddSellerRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddSellerEnvelope|error

Sample code:

pricefx:AddSellerEnvelope result = check pricefxClient->addSeller(payload);
deleteSeller

Delete a Seller

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteSellerRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteSellerEnvelope|error

Sample code:

pricefx:DeleteSellerEnvelope result = check pricefxClient->deleteSeller(payload);
listSellers

List Sellers

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListSellersRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListSellersEnvelope|error

Sample code:

pricefx:ListSellersEnvelope result = check pricefxClient->listSellers(payload);
updateSeller

Update a Seller

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateSellerRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateSellerEnvelope|error

Sample code:

pricefx:UpdateSellerEnvelope result = check pricefxClient->updateSeller(payload);

Seller Extensions

addSellerExtension

Add a Seller Extension

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddSellerExtensionRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddSellerExtensionResponse|error

Sample code:

pricefx:AddSellerExtensionResponse result = check pricefxClient->addSellerExtension(payload);
deleteSellerExtension

Delete a Seller Extension

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteSellerExtensionRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteSellerExtensionResponse|error

Sample code:

pricefx:DeleteSellerExtensionResponse result = check pricefxClient->deleteSellerExtension(payload);
getSellerExtension

Get a Seller Extension

Parameters:

NameTypeRequiredDescription
sellerIdstringYesThe SellerId of the seller in the Seller Extension table you want to retrieve details for
sXCategorystringYesThe Seller Extension category (the Name from the Seller Master Extension table)
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SellerExtensionEnvelope|error

Sample code:

pricefx:SellerExtensionEnvelope result = check pricefxClient->getSellerExtension(sellerId, sXCategory);
importSellerExtensionFile

Import a File

Parameters:

NameTypeRequiredDescription
sXCategorystringYesThe Seller Extension category (the Name from the Seller Master Extension table)
slotIdstringYesThe ID that is returned by the /uploadmanager.newuploadslot (Create an Upload Slot) endpoint
payloadpricefx:ImportSXFileRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ImportSellerExtensionFileQueriesYesQueries to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->importSellerExtensionFile(sXCategory, slotId, payload, queries);
insertBulkSellerExtensions

Insert Bulk Seller Extensions

Parameters:

NameTypeRequiredDescription
payloadpricefx:InsertBulkProductExtensionsRequest1YesSpecify seller extension field names in the header object and field values in the data object
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->insertBulkSellerExtensions(payload);
listSellerExtensions

List Seller Extensions

Parameters:

NameTypeRequiredDescription
sXCategorystringYesThe Seller Extension category (the Name from the Seller Master Extension table)
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SellerExtensionEnvelope|error

Sample code:

pricefx:SellerExtensionEnvelope result = check pricefxClient->listSellerExtensions(sXCategory);
updateSellerExtension

Update a Seller Extension

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateSXBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateSellerExtensionEnvelope|error

Sample code:

pricefx:UpdateSellerExtensionEnvelope result = check pricefxClient->updateSellerExtension(payload);

Condition Records

addConditionRecordItemMeta

Add a Condition Record Item Attribute Meta

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddCRCIMBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordItemMetaOperationEnvelope|error

Sample code:

pricefx:ConditionRecordItemMetaOperationEnvelope result = check pricefxClient->addConditionRecordItemMeta(payload);
addConditionRecordSet

Add a Condition Record Set

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddCRCSBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordSetOperationEnvelope|error

Sample code:

pricefx:ConditionRecordSetOperationEnvelope result = check pricefxClient->addConditionRecordSet(payload);
deleteConditionRecordItemMeta

Delete a Condition Record Item Attribute Meta

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCRCIMBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordItemMetaOperationEnvelope|error

Sample code:

pricefx:ConditionRecordItemMetaOperationEnvelope result = check pricefxClient->deleteConditionRecordItemMeta(payload);
deleteConditionRecordSet

Delete a Condition Records Set

Parameters:

NameTypeRequiredDescription
payloadpricefx:DcrmanagerDeletemassopidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordSetOperationEnvelope|error

Sample code:

pricefx:ConditionRecordSetOperationEnvelope result = check pricefxClient->deleteConditionRecordSet(payload);
getConditionRecordItem

Get a Condition Record Item

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordItemEnvelope|error

Sample code:

pricefx:ConditionRecordItemEnvelope result = check pricefxClient->getConditionRecordItem(payload);
getConditionRecordItemMeta

Get a Condition Record Item Attribute Meta

Parameters:

NameTypeRequiredDescription
payloadpricefx:FetchCRCIMBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordItemMetaEnvelope|error

Sample code:

pricefx:ConditionRecordItemMetaEnvelope result = check pricefxClient->getConditionRecordItemMeta(payload);
getConditionRecordSetItems

Get Condition Record Set Items With Set Id Validation

Parameters:

NameTypeRequiredDescription
payloadpricefx:ConditionrecordsetFetchCRCI3BodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordSetItemsEnvelope|error

Sample code:

pricefx:ConditionRecordSetItemsEnvelope result = check pricefxClient->getConditionRecordSetItems(payload);
listConditionRecordSets

List Condition Record Sets

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListConditionRecordSetsEnvelope|error

Sample code:

pricefx:ListConditionRecordSetsEnvelope result = check pricefxClient->listConditionRecordSets(payload);
updateConditionRecordItemMeta

Update a Condition Record Item Attribute Meta + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCRCIMBodyYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateConditionRecordItemMetaEnvelope|error

Sample code:

pricefx:UpdateConditionRecordItemMetaEnvelope result = check pricefxClient->updateConditionRecordItemMeta(payload);
updateConditionRecordSet

Update a Condition Record Set

Parameters:

NameTypeRequiredDescription
idstringYesid of the ConditionRecordSet object you want to update
payloadpricefx:ConditionrecordsetUpdateidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConditionRecordSetOperationEnvelope|error

Sample code:

pricefx:ConditionRecordSetOperationEnvelope result = check pricefxClient->updateConditionRecordSet(id, payload);

Price Lists

addPriceListType

Add a Price List Type + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddPLTTBodyYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceListTypeOperationEnvelope|error

Sample code:

pricefx:PriceListTypeOperationEnvelope result = check pricefxClient->addPriceListType(payload);
calculatePriceList

Calculate a Pricelist

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price List you want to calculate. The id is the typedId without the suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
payloadpricefx:PricelistmanagerCalculateidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculatePricelistResponse|error

Sample code:

pricefx:CalculatePricelistResponse result = check pricefxClient->calculatePriceList(id, payload);
createPriceList

Create a Price List

Parameters:

NameTypeRequiredDescription
payloadpricefx:CreatePriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CreatePriceListResponse|error

Sample code:

pricefx:CreatePriceListResponse result = check pricefxClient->createPriceList(payload);
createPriceListRevision

Create a Revision

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price List you want to create a revision for. The id is the typedId without the suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
payloadpricefx:CreateRevisionRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceListItemResponse|error

Sample code:

pricefx:PriceListItemResponse result = check pricefxClient->createPriceListRevision(id, payload);
deletePriceList

Delete a Price List

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeletePriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeletePriceListResponse|error

Sample code:

pricefx:DeletePriceListResponse result = check pricefxClient->deletePriceList(payload);
deletePriceListItems

Delete a Price List Item

Parameters:

NameTypeRequiredDescription
idstringYesEnter the ID of the Price List where you want to delete an item from
payloadpricefx:DeletePriceListItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeletePriceListItemResponse|error

Sample code:

pricefx:DeletePriceListItemResponse result = check pricefxClient->deletePriceListItems(id, payload);
deletePriceListType

Delete a Price List Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeletePLTTBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceListTypeOperationEnvelope|error

Sample code:

pricefx:PriceListTypeOperationEnvelope result = check pricefxClient->deletePriceListType(payload);
getPriceList

Get a Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price List you want to retrieve details for. The id is the typedId without the suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetPriceListResponse|error

Sample code:

pricefx:GetPriceListResponse result = check pricefxClient->getPriceList(id);
listPriceListItems

List Price List Items

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price List you want to retrieve items for. The id is the typedId without the suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
payloadpricefx:ListPriceListItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceListItemResponse|error

Sample code:

pricefx:PriceListItemResponse result = check pricefxClient->listPriceListItems(id, payload);
listPriceListTypes

List Price List Types

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListPriceListTypesEnvelope|error

Sample code:

pricefx:ListPriceListTypesEnvelope result = check pricefxClient->listPriceListTypes();
listPriceLists

List Price Lists

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListPriceListsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListPriceListsResponse|error

Sample code:

pricefx:ListPriceListsResponse result = check pricefxClient->listPriceLists(payload);
revokePriceList

Revoke a Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe id to be sent with the request
payloadpricefx:PricelistmanagerSubmitidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceListItemResponse|error

Sample code:

pricefx:PriceListItemResponse result = check pricefxClient->revokePriceList(id, payload);
submitPriceList

Submit a Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price List you want to submit. The id is the typedId without the suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
payloadpricefx:PricelistmanagerSubmitidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceListItemResponse|error

Sample code:

pricefx:PriceListItemResponse result = check pricefxClient->submitPriceList(id, payload);
updatePriceListDetail

Update a Pricelist Detail

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price List whose Item you want to update. The id is the typedId without the suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
payloadpricefx:UpdatePricelistDetailRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdatePricelistDetailResponse|error

Sample code:

pricefx:UpdatePricelistDetailResponse result = check pricefxClient->updatePriceListDetail(id, payload);
updatePriceListType

Update a Price List Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdatePLTTBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceListTypeOperationEnvelope|error

Sample code:

pricefx:PriceListTypeOperationEnvelope result = check pricefxClient->updatePriceListType(payload);

Manual Price Lists

addManualPriceListProducts

Add Products to a Manual Pricelist

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List where you want to add products to
payloadpricefx:AddProductsToManualPriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->addManualPriceListProducts(id, payload);
addManualPriceListProductsNoRecalc

Add Products to a Manual Price List (No Recalculation)

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List where you want to add products to
payloadpricefx:AddProductsToManualPriceListNoRecalcRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddProductsToManualPriceListNoRecalcResponse|error

Sample code:

pricefx:AddProductsToManualPriceListNoRecalcResponse result = check pricefxClient->addManualPriceListProductsNoRecalc(id, payload);
calculateManualPriceList

Calculate a Manual Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List you want to start the calculation for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculateManualPriceListResponse|error

Sample code:

pricefx:CalculateManualPriceListResponse result = check pricefxClient->calculateManualPriceList(id);
copyManualPriceList

Copy a Manual Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List you want to copy
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ManualPriceListResponse|error

Sample code:

pricefx:ManualPriceListResponse result = check pricefxClient->copyManualPriceList(id);
createManualPriceList

Create a Manual Price List

Parameters:

NameTypeRequiredDescription
payloadpricefx:CreateManualPriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ManualPriceListResponse|error

Sample code:

pricefx:ManualPriceListResponse result = check pricefxClient->createManualPriceList(payload);
deleteManualPriceList

Delete a Manual Price List

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteManualPriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ManualPriceListResponse|error

Sample code:

pricefx:ManualPriceListResponse result = check pricefxClient->deleteManualPriceList(payload);
deleteManualPriceListProduct

Delete a Product from a Manual Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List whose product you want to delete
payloadpricefx:DeleteProductFromManualPriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->deleteManualPriceListProduct(id, payload);
deleteManualPriceListProducts

Delete Products from a Manual Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List whose products you want to delete
payloadpricefx:DeleteProductsFromManualPriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteProductsFromManualPriceListResponse|error

Sample code:

pricefx:DeleteProductsFromManualPriceListResponse result = check pricefxClient->deleteManualPriceListProducts(id, payload);
listManualPriceListProducts

List Products From a Manual Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List you want to retrieve products from
payloadpricefx:ListProductsFromManualPriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListProductsFromManualPriceListResponse|error

Sample code:

pricefx:ListProductsFromManualPriceListResponse result = check pricefxClient->listManualPriceListProducts(id, payload);
listManualPriceLists

List Manual Price Lists

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListManualPriceListsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ManualPriceListResponse|error

Sample code:

pricefx:ManualPriceListResponse result = check pricefxClient->listManualPriceLists(payload);
massEditManualPriceListItems

Mass Edit a Manual Price List Items

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List whose products you want to update
payloadpricefx:MassEditMPLRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassEditManualPriceListResponse|error

Sample code:

pricefx:MassEditManualPriceListResponse result = check pricefxClient->massEditManualPriceListItems(id, payload);
updateManualPriceListItem

Update a Manual Price List Item

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List whose item you want to update
payloadpricefx:UpdateManualPriceListRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateManualPriceListResponse|error

Sample code:

pricefx:UpdateManualPriceListResponse result = check pricefxClient->updateManualPriceListItem(id, payload);
upsertManualPriceListProduct

Upsert a Product in a Manual Price List + payload -

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Manual Price List whose product you want to create or update
payloadpricefx:UpsertProductManualPriceListRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->upsertManualPriceListProduct(id, payload);

Calculation Grids

acceptCalculationGridItem

Submit a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Calculation Grid you want to submit items for. You can retrieve the id of the CG, for example, by calling the /fetch/CG endpoint
payloadpricefx:SubmitCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitCalculationGridItemResponse|error

Sample code:

pricefx:SubmitCalculationGridItemResponse result = check pricefxClient->acceptCalculationGridItem(id, payload);
addCalculationGrid

Add a Calculation Grid

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddCalculationGridResponse|error

Sample code:

pricefx:AddCalculationGridResponse result = check pricefxClient->addCalculationGrid(payload);
addCalculationGridItem

Add a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
payloadpricefx:AddCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddCalculationGridItemResponse|error

Sample code:

pricefx:AddCalculationGridItemResponse result = check pricefxClient->addCalculationGridItem(keyNumber, payload);
calculateCalculationGrid

Calculate a Calculation Grid

Parameters:

NameTypeRequiredDescription
idstringYesid of the Calculation Grid you want to calculate
payloadpricefx:CalculateCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculateCalculationGridResponse|error

Sample code:

pricefx:CalculateCalculationGridResponse result = check pricefxClient->calculateCalculationGrid(id, payload);
deleteCalculationGrid

Delete a Calculation Grid

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCalculationGridResponse|error

Sample code:

pricefx:DeleteCalculationGridResponse result = check pricefxClient->deleteCalculationGrid(payload);
deleteCalculationGridItem

Delete a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
payloadpricefx:DeleteCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCalculationGridItemResponse|error

Sample code:

pricefx:DeleteCalculationGridItemResponse result = check pricefxClient->deleteCalculationGridItem(keyNumber, payload);
getCalculationGrid

Get a Calculation Grid

Parameters:

NameTypeRequiredDescription
idstringYesID of the Calculation Grid you want to retrieve
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetCalculationGridResponse|error

Sample code:

pricefx:GetCalculationGridResponse result = check pricefxClient->getCalculationGrid(id, payload);
getCalculationGridItem

Get a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
idstringYesid of the Calculation Grid Item you want to fetch
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetCalculationGridItemResponse|error

Sample code:

pricefx:GetCalculationGridItemResponse result = check pricefxClient->getCalculationGridItem(keyNumber, id, payload);
listCalculationGridItems

List Calculation Grid Items

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
payloadpricefx:ListCalculationGridItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCalculationGridItemsResponse|error

Sample code:

pricefx:ListCalculationGridItemsResponse result = check pricefxClient->listCalculationGridItems(keyNumber, payload);
listCalculationGrids

List Calculation Grids

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCalculationGridsResponse|error

Sample code:

pricefx:ListCalculationGridsResponse result = check pricefxClient->listCalculationGrids(payload);
rejectCalculationGridItem

Deny a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Calculation Grid you want to deny items for. You can retrieve the id of the CG, for example, by calling the /fetch/CG endpoint
payloadpricefx:DenyCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DenyCalculationGridItemResponse|error

Sample code:

pricefx:DenyCalculationGridItemResponse result = check pricefxClient->rejectCalculationGridItem(id, payload);
updateCalculationGrid

Update a Calculation Grid

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCalculationGridResponse|error

Sample code:

pricefx:UpdateCalculationGridResponse result = check pricefxClient->updateCalculationGrid(payload);
updateCalculationGridItem

Update a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesid of the Calculation Grid Item you want to update
payloadpricefx:UpdateCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCalculationGridItemResponse|error

Sample code:

pricefx:UpdateCalculationGridItemResponse result = check pricefxClient->updateCalculationGridItem(id, payload);

Calculated Field Sets

calculateCfs

Calculate a CFS

Parameters:

NameTypeRequiredDescription
idstringYesThe id is the typedId without the type suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculateCFSResponse|error

Sample code:

pricefx:CalculateCFSResponse result = check pricefxClient->calculateCfs(id);
cancelCfsCalculation

Cancel a CFS Calculation

Parameters:

NameTypeRequiredDescription
idstringYesThe id is the typedId without the type suffix. For example, the id attribute of the item with typedId = 2147484837.PL is 2147484837
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->cancelCfsCalculation(id);
deleteCalculatedFieldSet

Delete a Calculated Field Set

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCalculatedFieldSetRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->deleteCalculatedFieldSet(payload);
listCalculatedFieldSets

List Calculated Field Sets

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCalculatedFieldSetsResponse|error

Sample code:

pricefx:ListCalculatedFieldSetsResponse result = check pricefxClient->listCalculatedFieldSets();

Live Price Grids

addLivePriceGridType

Add a Live Price Grid Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddPGTTBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LivePriceGridTypeOperationEnvelope|error

Sample code:

pricefx:LivePriceGridTypeOperationEnvelope result = check pricefxClient->addLivePriceGridType(payload);
addPriceGridItemsToPriceGrid

Add Price Grid Items to a Price Grid

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Live Price Grid where you want to add Price Grid Items to. id is the typedId without PG suffix. For example, the id attribute of the item with typedId = 649.PG is 649. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
payloadpricefx:AddPriceGridItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddPriceGridItemsToPriceGridResponse|error

Sample code:

pricefx:AddPriceGridItemsToPriceGridResponse result = check pricefxClient->addPriceGridItemsToPriceGrid(id, payload);
calculatePriceGrid

Calculate a Price Grid

Parameters:

NameTypeRequiredDescription
idstringYesThe id to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculatePriceGridResponse|error

Sample code:

pricefx:CalculatePriceGridResponse result = check pricefxClient->calculatePriceGrid(id);
cancelPriceGridCalculation

Cancel a Calculation

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Live Price Grid whose running calculation should be cancelled
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CancelCalculationResponse|error

Sample code:

pricefx:CancelCalculationResponse result = check pricefxClient->cancelPriceGridCalculation(id);
convertToPriceList

Convert to Price List

Parameters:

NameTypeRequiredDescription
idstringYesThe id to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConvertPriceListResponse|error

Sample code:

pricefx:ConvertPriceListResponse result = check pricefxClient->convertToPriceList(id);
copyPriceGrid

Copy a Price Grid

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Live Price Grid you want to copy. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CopyPriceGridResponse|error

Sample code:

pricefx:CopyPriceGridResponse result = check pricefxClient->copyPriceGrid(id);
countMassActionItems

Count Mass Action Items

Parameters:

NameTypeRequiredDescription
idstringYesThe id to be sent with the request
payloadpricefx:CountMassActionItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CountMassActionItemsResponse|error

Sample code:

pricefx:CountMassActionItemsResponse result = check pricefxClient->countMassActionItems(id, payload);
deleteLivePriceGrid

Delete a Live Price Grid

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteLivePriceGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteLivePriceGridResponse|error

Sample code:

pricefx:DeleteLivePriceGridResponse result = check pricefxClient->deleteLivePriceGrid(payload);
deleteLivePriceGridType

Delete a Live Price Grid Type + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeletePLTTBodyYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LivePriceGridTypeOperationEnvelope|error

Sample code:

pricefx:LivePriceGridTypeOperationEnvelope result = check pricefxClient->deleteLivePriceGridType(payload);
deletePriceGridItem

Delete a Price Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price Grid you want to delete the Price Grid Item from
payloadpricefx:DeletePriceGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceGridItemResponse|error

Sample code:

pricefx:PriceGridItemResponse result = check pricefxClient->deletePriceGridItem(id, payload);
deletePriceGridItemFilter

Delete a Price Grid Item (Filter) + payload -

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price Grid that contains Price Grid Items you want to delete
payloadpricefx:DeletePriceGridItemFilterRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->deletePriceGridItemFilter(id, payload);
denyLivePriceGridItem

Deny a Live Price Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price Grid that contains the Price Grid Item you want to deny
payloadpricefx:DenyLivePriceGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceGridItemResponse|error

Sample code:

pricefx:PriceGridItemResponse result = check pricefxClient->denyLivePriceGridItem(id, payload);
downloadLivePriceGridExcelFile

Download a Live Price Grid Excel File

Parameters:

NameTypeRequiredDescription
id1stringYesThe id1 to be sent with the request
id2stringYesThe id2 to be sent with the request
id3stringYesThe id3 to be sent with the request
id4stringYesThe id4 to be sent with the request
id5stringYesThe id5 to be sent with the request
id6stringYesThe id6 to be sent with the request
id7stringYesThe id7 to be sent with the request
id8stringYesThe id8 to be sent with the request
id9stringYesThe id9 to be sent with the request
id10stringYesThe id10 to be sent with the request
id11stringYesThe id11 to be sent with the request
id12stringYesThe id12 to be sent with the request
id13stringYesIDs of the Price Grids you want to download
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:DownloadLivePriceGridExcelFileQueriesYesQueries to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->downloadLivePriceGridExcelFile(id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, id12, id13, queries);
getLivePriceGrid

Get a Live Price Grid

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Live Price Grid you want to retrieve details for. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetLivePriceGridResponse|error

Sample code:

pricefx:GetLivePriceGridResponse result = check pricefxClient->getLivePriceGrid(id);
listLivePriceGridItems

List Live Price Grid Items

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Live Price Grid you want to retrieve items for. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
payloadpricefx:ListLivePriceGridItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListLivePriceGridItemsResponse|error

Sample code:

pricefx:ListLivePriceGridItemsResponse result = check pricefxClient->listLivePriceGridItems(id, payload);
listLivePriceGridTypes

List Live Price Grid Types

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListLivePriceGridTypesEnvelope|error

Sample code:

pricefx:ListLivePriceGridTypesEnvelope result = check pricefxClient->listLivePriceGridTypes();
listLivePriceGrids

List Live Price Grids

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListLivePriceGridsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListLivePriceGridsResponse|error

Sample code:

pricefx:ListLivePriceGridsResponse result = check pricefxClient->listLivePriceGrids(payload);
massEditPriceGridItems

Mass Edit Price Grid Items

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Live Price Grid whose items you want to edit. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
payloadpricefx:MassEditPriceGridItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassEditPriceGridItemsResponse|error

Sample code:

pricefx:MassEditPriceGridItemsResponse result = check pricefxClient->massEditPriceGridItems(id, payload);
performMassAction

Perform a Mass Action

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price Grid that contains items you want to apply workflow actions to
payloadpricefx:PerformMassActionRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PerformMassActionResponse|error

Sample code:

pricefx:PerformMassActionResponse result = check pricefxClient->performMassAction(id, payload);
submitProducts

Submit Products

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Live Price Grid you want to submit items for. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
payloadpricefx:SubmitProductsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitProductsResponse|error

Sample code:

pricefx:SubmitProductsResponse result = check pricefxClient->submitProducts(id, payload);
updateLivePriceGridItem

Update a Live Price Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price Grid whose item you want to update. id is the typedId without PG suffix. For example, the id attribute of the item with typedId = 649.PG is 649. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
payloadpricefx:UpdateLivePriceGridItemRequestYesWe have performed an update action on the comments field in our request sample >>>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceGridItemResponse|error

Sample code:

pricefx:PriceGridItemResponse result = check pricefxClient->updateLivePriceGridItem(id, payload);
updateLivePriceGridItemNo

Update a Live Price Grid Item (No Recalculation)

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the Price Grid whose item you want to update. id is the typedId without PG suffix. For example, the id attribute of the item with typedId = 649.PG is 649. You can retrieve the id of the LPG, for example, by calling the /fetch/PG endpoint
payloadpricefx:UpdateLivePriceGridItemNoRecalcRequestYesWe have performed an update action on the comments field in our request sample >>>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PriceGridItemResponse|error

Sample code:

pricefx:PriceGridItemResponse result = check pricefxClient->updateLivePriceGridItemNo(id, payload);
updateLivePriceGridType

Update a Live Price Grid Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdatePGTTBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LivePriceGridTypeOperationEnvelope|error

Sample code:

pricefx:LivePriceGridTypeOperationEnvelope result = check pricefxClient->updateLivePriceGridType(payload);

Quotes

addQuoteProducts

Add Products to a Quote

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddProductsToQuoteRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->addQuoteProducts(payload);
convertQuoteToDeal

Convert to a Deal

Parameters:

NameTypeRequiredDescription
identifierstringYesCan be either the uniqueName or the typedId
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->convertQuoteToDeal(identifier);
copyQuote

Copy a Quote

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CopyQuoteEnvelope|error

Sample code:

pricefx:CopyQuoteEnvelope result = check pricefxClient->copyQuote(typedId, payload);
createClic

Create a Quote

Parameters:

NameTypeRequiredDescription
typeCode"Q"|"QTMP"YesEnter the type code of the entity you want to create
payloadpricefx:ClicmanagerCreateTypeCodeBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ClicOperationEnvelope|error

Sample code:

pricefx:ClicOperationEnvelope result = check pricefxClient->createClic(typeCode, payload);
createQuoteRevision

Create a New Revision

Parameters:

NameTypeRequiredDescription
identifierstringYesCan be either the uniqueName or the typedId
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->createQuoteRevision(identifier);
exportQuoteDocx

Export a DOCX File

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesSpecify the uniqueName of the quote you want to download
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ExportQuoteDocxQueriesYesQueries to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->exportQuoteDocx(uniqueName, queries);
exportQuoteExcel

Export an Excel File

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesSpecify the uniqueName of the quote you want to download
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ExportQuoteExcelQueriesYesQueries to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->exportQuoteExcel(uniqueName, queries);
exportQuotePdf

Export a PDF File

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesSpecify the uniqueName of the quote you want to download
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ExportQuotePdfQueriesYesQueries to be sent with the request

Returns: record

Sample code:

record result = check pricefxClient->exportQuotePdf(uniqueName, queries);
getClicDraftHeader

Get a Temporary Data

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Quote you want to retrieve the temporary data from
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ClicDraftHeaderEnvelope|error

Sample code:

pricefx:ClicDraftHeaderEnvelope result = check pricefxClient->getClicDraftHeader(typedId, payload);
getClicFolderStats

Get Folder Statistics

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the document whose folder statistics you want to fetch
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:GetClicFolderStatsQueriesYesQueries to be sent with the request

Returns: pricefx:ClicFolderStatsEnvelope|error

Sample code:

pricefx:ClicFolderStatsEnvelope result = check pricefxClient->getClicFolderStats(typedId, queries);
getQuote

Get a Quote

Parameters:

NameTypeRequiredDescription
typedIDstringYesEnter the quote typed ID. You get the typedId in the response when fetching all quotes using the /quotemanager.fetchlist endpoint
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->getQuote(typedID);
listQuoteProducts

List Products

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListProductsRequest1YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->listQuoteProducts(payload);
listQuotes

List Quotes

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListQuotesRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListQuotesResponse|error

Sample code:

pricefx:ListQuotesResponse result = check pricefxClient->listQuotes(payload);
markQuoteLost

Mark an Offer as Lost

Parameters:

NameTypeRequiredDescription
identifierstringYesCan be either the uniqueName or the typedId
payloadpricefx:MarkOfferAsLostRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->markQuoteLost(identifier, payload);
recalculateQuote

Recalculate a Quote

Parameters:

NameTypeRequiredDescription
payloadpricefx:RecalculateQuoteRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->recalculateQuote(payload);
revokeQuote

Revoke a Deal

Parameters:

NameTypeRequiredDescription
identifierstringYesCan be either the uniqueName or the typedId
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RevokeDealResponse|error

Sample code:

pricefx:RevokeDealResponse result = check pricefxClient->revokeQuote(identifier);
saveClicDraft

Save a Temporary Data

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Temporary Quote you want to save
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ClicOperationEnvelope|error

Sample code:

pricefx:ClicOperationEnvelope result = check pricefxClient->saveClicDraft(typedId, payload);
submitQuote

Submit a Quote

Parameters:

NameTypeRequiredDescription
payloadpricefx:SubmitQuoteRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->submitQuote(payload);
undoRevokeQuote

Undo Quote Revocation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->undoRevokeQuote(typedId);
upsertQuote

Upsert a Quote

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertQuoteRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QuoteResponse|error

Sample code:

pricefx:QuoteResponse result = check pricefxClient->upsertQuote(payload);

Contracts (Agreements & Promotions)

addContractLineItems

Add Contract Line Items

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddContractLineItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ContractModelResponse|error

Sample code:

pricefx:ContractModelResponse result = check pricefxClient->addContractLineItems(payload);
exportContractPdf

Export a PDF File

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesSpecify the uniqueName of the A&P you want to download
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->exportContractPdf(uniqueName);
getContract

Get a Contract

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesuniqueName of the Contract you want to retrieve details for. Alternatively, typedId can be also used
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ContractModelResponse|error

Sample code:

pricefx:ContractModelResponse result = check pricefxClient->getContract(uniqueName);
listContractCalculations

List Contract Calculations

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListContractCalculationsEnvelope|error

Sample code:

pricefx:ListContractCalculationsEnvelope result = check pricefxClient->listContractCalculations(payload);
listContractPriceRecords

List Contract Price Records

Parameters:

NameTypeRequiredDescription
payloadpricefx:FetchCPRBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListContractPriceRecords|error

Sample code:

pricefx:ListContractPriceRecords result = check pricefxClient->listContractPriceRecords(payload);
listContracts

List Contracts

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListContractsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ContractResponse|error

Sample code:

pricefx:ContractResponse result = check pricefxClient->listContracts(payload);
submitContract

Submit a Contract

Parameters:

NameTypeRequiredDescription
payloadpricefx:SubmitContractRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ContractModelResponse|error

Sample code:

pricefx:ContractModelResponse result = check pricefxClient->submitContract(payload);
undoRevokeContract

Undo Agreement & Promotion Revocation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->undoRevokeContract(typedId);
upsertContract

Upsert a Contract

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertContractRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ContractModelResponse|error

Sample code:

pricefx:ContractModelResponse result = check pricefxClient->upsertContract(payload);

Rebate Agreements

addRebateAgreementItems

Add Rebate Agreement Items

Parameters:

NameTypeRequiredDescription
payloadpricefx:GetCustomerRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RebateAgreementResponse|error

Sample code:

pricefx:RebateAgreementResponse result = check pricefxClient->addRebateAgreementItems(payload);
deleteRebateAgreement

Delete a Rebate Agreement

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteRebateAgreementRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RebateAgreementResponse|error

Sample code:

pricefx:RebateAgreementResponse result = check pricefxClient->deleteRebateAgreement(payload);
getRebateAgreement

Get a Rebate Agreement

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe uniqueName of the Rebate Agreement you want to retrieve details for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RebateAgreementResponse|error

Sample code:

pricefx:RebateAgreementResponse result = check pricefxClient->getRebateAgreement(uniqueName);
listRebateAgreementItems

List Rebate Agreement Items

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListRebateAgreementItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListRebateAgreementItemsResponse|error

Sample code:

pricefx:ListRebateAgreementItemsResponse result = check pricefxClient->listRebateAgreementItems(payload);
listRebateAgreements

List Rebate Agreements

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListRebateAgreementsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListRebateAgreementsResponse|error

Sample code:

pricefx:ListRebateAgreementsResponse result = check pricefxClient->listRebateAgreements(payload);
undoRebateAgreementRevocation

Undo Rebate Agreement Revocation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->undoRebateAgreementRevocation(typedId);
undoRebateRecordRevocation

Undo Rebate Record Revocation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->undoRebateRecordRevocation(typedId);
upsertRebateAgreement

Upsert a Rebate Agreement

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertRebateAgreementRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RebateAgreementResponse|error

Sample code:

pricefx:RebateAgreementResponse result = check pricefxClient->upsertRebateAgreement(payload);

Rebate Calculations

addRebateCalculation

Add a Rebate Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddRRSCBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddRebateCalculationResponse|error

Sample code:

pricefx:AddRebateCalculationResponse result = check pricefxClient->addRebateCalculation(payload);
deleteRebateCalculation

Delete a Rebate Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteRebateCalculationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteRebateCalculationResponse|error

Sample code:

pricefx:DeleteRebateCalculationResponse result = check pricefxClient->deleteRebateCalculation(payload);
listRebateCalculations

List Rebate Calculations

Parameters:

NameTypeRequiredDescription
payloadpricefx:FetchRRSCBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListRebateCalculationsResponse|error

Sample code:

pricefx:ListRebateCalculationsResponse result = check pricefxClient->listRebateCalculations(payload);
runRebateCalculation

Run a Rebate Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:RebaterecordCalculatesetBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RunRebateCalculationResponse|error

Sample code:

pricefx:RunRebateCalculationResponse result = check pricefxClient->runRebateCalculation(payload);
saveRebateCalculation

Save a Rebate Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:SaveRebateCalculationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SaveRebateCalculationResponse|error

Sample code:

pricefx:SaveRebateCalculationResponse result = check pricefxClient->saveRebateCalculation(payload);

Rebate Record Group

calculateRebateRecordGroup

Calculate a Rebate Record Group

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Rebate Record Group you want to calculate
payloadpricefx:RebaterecordgroupCalculatetypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculateRebateRecordGroupEnvelope|error

Sample code:

pricefx:CalculateRebateRecordGroupEnvelope result = check pricefxClient->calculateRebateRecordGroup(typedId, payload);
getRebateRecordGroup

Get a Rebate Record Group

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->getRebateRecordGroup(payload);
massSubmitRebateRecordGroupItems

Mass Submit Rebate Record Groups

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadpricefx:RebaterecordgroupMasssubmittypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassSubmitRRGResponse|error

Sample code:

pricefx:MassSubmitRRGResponse result = check pricefxClient->massSubmitRebateRecordGroupItems(typedId, payload);
massSubmitRebateRecordGroups

Mass Submit Rebate Record Groups

Parameters:

NameTypeRequiredDescription
payloadpricefx:RebaterecordgroupMasssubmittypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassSubmitRebateRecordGroupsEnvelope|error

Sample code:

pricefx:MassSubmitRebateRecordGroupsEnvelope result = check pricefxClient->massSubmitRebateRecordGroups(payload);
previewRebateRecordGroupWorkflow

Preview a Rebate Record Group Workflow

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadpricefx:RebaterecordgroupPreviewtypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RebateRecordGroupWorkflowEnvelope|error

Sample code:

pricefx:RebateRecordGroupWorkflowEnvelope result = check pricefxClient->previewRebateRecordGroupWorkflow(typedId, payload);
revokeRebateRecordGroup

Revoke a Rebate Record Group

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Rebate Record Group you want to revoke
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RevokeRebateRecordGroupEnvelope|error

Sample code:

pricefx:RevokeRebateRecordGroupEnvelope result = check pricefxClient->revokeRebateRecordGroup(typedId);
shouldSubmitRrgAsynchronously

Should Submit a RRG Asynchronously

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Rebate Record Group you want to return the async threshold boolean for
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CheckFileExistsEnvelope|error

Sample code:

pricefx:CheckFileExistsEnvelope result = check pricefxClient->shouldSubmitRrgAsynchronously(typedId, payload);
submitRebateRecordGroup

Submit a Rebate Record Group

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Rebate Record Group you want to submit
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitRebateRecordGroup|error

Sample code:

pricefx:SubmitRebateRecordGroup result = check pricefxClient->submitRebateRecordGroup(typedId, payload);
undoRebateRecordGroupRevocation

Undo Rebate Record Group Revocation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->undoRebateRecordGroupRevocation(typedId);

Sales Compensations

addCalculation

Add a Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddCalculationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddCalculationResponse|error

Sample code:

pricefx:AddCalculationResponse result = check pricefxClient->addCalculation(payload);
addCompensationType

Add a Compensation Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddCompensationTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddCompensationTypeEnvelope|error

Sample code:

pricefx:AddCompensationTypeEnvelope result = check pricefxClient->addCompensationType(payload);
addConditionType

Add a Condition Type + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddConditionTypeRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddConditionTypeEnvelope|error

Sample code:

pricefx:AddConditionTypeEnvelope result = check pricefxClient->addConditionType(payload);
deleteCalculation

Delete a Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCalculationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCalculationResponse|error

Sample code:

pricefx:DeleteCalculationResponse result = check pricefxClient->deleteCalculation(payload);
deleteCompensationPlan

Delete a Compensation Plan

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCompensationPlanRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCompensationPlanResponse|error

Sample code:

pricefx:DeleteCompensationPlanResponse result = check pricefxClient->deleteCompensationPlan(payload);
deleteCompensationType

Delete a Compensation Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCOHTBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCompensationTypeEnvelope|error

Sample code:

pricefx:DeleteCompensationTypeEnvelope result = check pricefxClient->deleteCompensationType(payload);
deleteConditionType

Delete a Condition Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteConditionTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteConditionTypeEnvelope|error

Sample code:

pricefx:DeleteConditionTypeEnvelope result = check pricefxClient->deleteConditionType(payload);
duplicateCompensationPlan

Duplicate a Compensation Plan

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Compensation Plan you want to duplicate
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DuplicateCompensationPlanEnvelope|error

Sample code:

pricefx:DuplicateCompensationPlanEnvelope result = check pricefxClient->duplicateCompensationPlan(typedId);
getSignatureStatus

Get a Signature Status

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Compensation document you want to retrieve the signature status for
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetSignatureStatusResponse|error

Sample code:

pricefx:GetSignatureStatusResponse result = check pricefxClient->getSignatureStatus(typedId, payload);
getSignedDocument

Get a Signed Document

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesA uniqueName of the Compensation Plan you want to download a signed file for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->getSignedDocument(uniqueName);
listAccrualRecords

List Accrual Records

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListAccrualRecordsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListAccrualRecordsResponse|error

Sample code:

pricefx:ListAccrualRecordsResponse result = check pricefxClient->listAccrualRecords(payload);
listCalculations

List Calculations

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListCalculationsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCalculationsResponse|error

Sample code:

pricefx:ListCalculationsResponse result = check pricefxClient->listCalculations(payload);
listCompensationPlans

List Compensation Plans

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListCompensationPlansRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCompensationPlansResponse|error

Sample code:

pricefx:ListCompensationPlansResponse result = check pricefxClient->listCompensationPlans(payload);
listCompensationRecords

List Compensation Records

Parameters:

NameTypeRequiredDescription
compensationRecordSetIdstringYesID 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
payloadpricefx:ListCompensationRecordsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCompensationRecordsResponse|error

Sample code:

pricefx:ListCompensationRecordsResponse result = check pricefxClient->listCompensationRecords(compensationRecordSetId, payload);
listCompensationTypes

List Compensation Types

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListCompensationTypesRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCompensationTypesEnvelope|error

Sample code:

pricefx:ListCompensationTypesEnvelope result = check pricefxClient->listCompensationTypes(payload);
listConditionTypes

List Condition Types

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListConditionTypesRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListConditionTypesEnvelope|error

Sample code:

pricefx:ListConditionTypesEnvelope result = check pricefxClient->listConditionTypes(payload);
recalculateQuoteContractRebate

Recalculate a Quote/Contract/Rebate Agreement/Compensation Plan

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the document you want to calculate
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:RecalculateQuoteContractRebateQueriesYesQueries to be sent with the request

Returns: pricefx:RecalculateClicEnvelope|error

Sample code:

pricefx:RecalculateClicEnvelope result = check pricefxClient->recalculateQuoteContractRebate(typedId, queries);
revokeCompensationRecord

Revoke a Compensation Record

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Compensation Record you want to revoke
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->revokeCompensationRecord(typedId);
runCalculation

Run a Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:RunCalculationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RunCalculationResponse|error

Sample code:

pricefx:RunCalculationResponse result = check pricefxClient->runCalculation(payload);
saveCalculation

Save Calculation

Parameters:

NameTypeRequiredDescription
payloadpricefx:SaveCalculationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SaveCalculationResponse|error

Sample code:

pricefx:SaveCalculationResponse result = check pricefxClient->saveCalculation(payload);
saveCompensationRecord

Save a Compensation Record

Parameters:

NameTypeRequiredDescription
payloadpricefx:SaveCompensationRecordRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SaveCompensationRecordResponse|error

Sample code:

pricefx:SaveCompensationRecordResponse result = check pricefxClient->saveCompensationRecord(payload);
sendDocumentToSign

Send a Document to Sign

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Compensation whose data you want to send via the e-signature system
payloadpricefx:CreateSignatureRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CreateSignatureResponse|error

Sample code:

pricefx:CreateSignatureResponse result = check pricefxClient->sendDocumentToSign(typedId, payload);
undoCompensationPlanRevocation

Undo Compensation Plan Revocation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->undoCompensationPlanRevocation(typedId);
undoCompensationRecordRevocation

Undo Compensation Record Revocation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->undoCompensationRecordRevocation(typedId);
updateCompensationRecord

Update a Compensation Record

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCompensationRecordRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCompensationRecordResponse|error

Sample code:

pricefx:UpdateCompensationRecordResponse result = check pricefxClient->updateCompensationRecord(payload);
updateCompensationType

Update a Compensation Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCompensationTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCompensationTypeEnvelope|error

Sample code:

pricefx:UpdateCompensationTypeEnvelope result = check pricefxClient->updateCompensationType(payload);
updateConditionType

Update a Condition Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateConditionTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateConditionTypeEnvelope|error

Sample code:

pricefx:UpdateConditionTypeEnvelope result = check pricefxClient->updateConditionType(payload);
updateQuoteContractRebateAgreement

Update a Quote/Contract/Rebate Agreement/Compensation Plan

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Compensation Plan you want to update
payloadpricefx:ClicmanagerUpdatetypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateClicEnvelope|error

Sample code:

pricefx:UpdateClicEnvelope result = check pricefxClient->updateQuoteContractRebateAgreement(typedId, payload);
upsertCompensationPlan

Upsert a Compensation Plan

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpsertCompensationPlanRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpsertCompensationPlanResponse|error

Sample code:

pricefx:UpsertCompensationPlanResponse result = check pricefxClient->upsertCompensationPlan(payload);

Claims

addClaim

Add a Claim

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddClaimRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddClaimResponse|error

Sample code:

pricefx:AddClaimResponse result = check pricefxClient->addClaim(payload);
calculateClaim

Calculate a Claim

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the claim whose items you want to calculate
payloadpricefx:CalculateClaimRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculateClaimResponse|error

Sample code:

pricefx:CalculateClaimResponse result = check pricefxClient->calculateClaim(typedId, payload);
cancelClaimCalculation

Cancel a Calculation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the claim whose item calculation you want to cancel
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CancelClaimCalculationResponse|error

Sample code:

pricefx:CancelClaimCalculationResponse result = check pricefxClient->cancelClaimCalculation(typedId, payload);
getSummary

Get a Summary

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetClaimItemsSummaryResponse|error

Sample code:

pricefx:GetClaimItemsSummaryResponse result = check pricefxClient->getSummary(typedId, payload);
listClaims

List Claims + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListClaimsRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListClaimsResponse|error

Sample code:

pricefx:ListClaimsResponse result = check pricefxClient->listClaims(payload);
listItems

List Items

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListClaimItemsResponse|error

Sample code:

pricefx:ListClaimItemsResponse result = check pricefxClient->listItems(typedId, payload);
rejectItems

Reject Items

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Claim whose items you want to reject
payloadpricefx:RejectClaimItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RejectClaimItemsResponse|error

Sample code:

pricefx:RejectClaimItemsResponse result = check pricefxClient->rejectItems(typedId, payload);
removeItems

Remove Items

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Claim whose items you want to remove
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RemoveClaimItemsResponse|error

Sample code:

pricefx:RemoveClaimItemsResponse result = check pricefxClient->removeItems(typedId, payload);
submitClaim

Submit a Claim

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Claim you want to submit
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitClaimResponse|error

Sample code:

pricefx:SubmitClaimResponse result = check pricefxClient->submitClaim(typedId, payload);
updateClaim

Update a Claim + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateClaimRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateClaimResponse|error

Sample code:

pricefx:UpdateClaimResponse result = check pricefxClient->updateClaim(payload);
validateItems

Validate Items

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Claim whose items you want to validate
payloadpricefx:ValidateClaimItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ValidateClaimItemsResponse|error

Sample code:

pricefx:ValidateClaimItemsResponse result = check pricefxClient->validateItems(typedId, payload);

Claim Types

addClaimType

Add a Claim Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddClaimTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddClaimTypeResponse|error

Sample code:

pricefx:AddClaimTypeResponse result = check pricefxClient->addClaimType(payload);
deleteClaimType

Delete a Claim Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteClaimTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteClaimTypeResponse|error

Sample code:

pricefx:DeleteClaimTypeResponse result = check pricefxClient->deleteClaimType(payload);
listClaimTypes

List Claim Types

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListClaimTypesRequestYesThe example of the request body contains the filter. The call returns Claim Types whose name equals to "claimType"
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListClaimTypesResponse|error

Sample code:

pricefx:ListClaimTypesResponse result = check pricefxClient->listClaimTypes(payload);
updateClaimType

Update a Claim Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateClaimTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateClaimTypeResponse|error

Sample code:

pricefx:UpdateClaimTypeResponse result = check pricefxClient->updateClaimType(payload);

Attachments

checkFileExists

Check a File

Parameters:

NameTypeRequiredDescription
binaryDataIdstringYesIf the typedId is, for example, 1145.BD then the binaryDataId is 1145
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CheckFileExistsEnvelope|error

Sample code:

pricefx:CheckFileExistsEnvelope result = check pricefxClient->checkFileExists(binaryDataId);
createUploadSlot
  1. Create an Upload Slot

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:CreateUploadSlotQueriesYesQueries to be sent with the request

Returns: pricefx:CreateUploadSlotEnvelope|error

Sample code:

pricefx:CreateUploadSlotEnvelope result = check pricefxClient->createUploadSlot(queries);
deleteFile

Delete a File

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the document whose attachment you want to delete
binaryDataIdstringYesIf the typedId is, for example, 1145.BD then the binaryDataId is 1145
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->deleteFile(typedId, binaryDataId, payload);
deleteUploadSlot
  1. Delete an Upload Slot

Parameters:

NameTypeRequiredDescription
slotIdstringYesEnter the ID of the slot you want to delete
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UploadSlotOperationEnvelope|error

Sample code:

pricefx:UploadSlotOperationEnvelope result = check pricefxClient->deleteUploadSlot(slotId);
downloadAttachmentData

Download an Attachment

Parameters:

NameTypeRequiredDescription
binaryDataIdstringYesIf the typedId is, for example, 1146.BD then the binaryDataId is 1146
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:DownloadAttachmentDataQueriesYesQueries to be sent with the request

Returns: byte[]|error

Sample code:

byte[] result = check pricefxClient->downloadAttachmentData(binaryDataId, queries);
downloadFile

Download a File

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the document you want to download the attachment from
binaryDataIdstringYesIf the typedId is, for example, 1145.BD then the binaryDataId is 1145
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:DownloadFileQueriesYesQueries to be sent with the request

Returns: pricefx:FileDownloadEnvelope|error

Sample code:

pricefx:FileDownloadEnvelope result = check pricefxClient->downloadFile(typedId, binaryDataId, queries);
downloadFileViaPost

Download a File

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the document you want to download the attachment from
binaryDataIdstringYesIf the typedId is, for example, 1145.BD then the binaryDataId is 1145
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:DownloadFileViaPostQueriesYesQueries to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->downloadFileViaPost(typedId, binaryDataId, queries);
editAttachment
  1. Upload a File

Parameters:

NameTypeRequiredDescription
ownerTypedIdstringYesThe TypedId of the document owning the attachment
binaryDataIdstringYesThe binaryDataId of the attachment to replace
slotIdstringYesThe upload slot_id containing the new file
payloadpricefx:BinaryDataIdslotIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:FileDownloadEnvelope|error

Sample code:

pricefx:FileDownloadEnvelope result = check pricefxClient->editAttachment(ownerTypedId, binaryDataId, slotId, payload);
getUploadProgress

Get Upload Progress

Parameters:

NameTypeRequiredDescription
uploadslotstringYesUpload Slot Id
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UploadSlotOperationEnvelope|error

Sample code:

pricefx:UploadSlotOperationEnvelope result = check pricefxClient->getUploadProgress(uploadslot);
listFiles

List Files

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the document you want to list attachments for
payloadpricefx:BdmanagerListtypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListFilesEnvelope|error

Sample code:

pricefx:ListFilesEnvelope result = check pricefxClient->listFiles(typedId, payload);
updateFile

Update a File

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the document whose attachment's metadata you want to update
payloadpricefx:BdmanagerUpdatetypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateFileEnvelope|error

Sample code:

pricefx:UpdateFileEnvelope result = check pricefxClient->updateFile(typedId, payload);
uploadFile
  1. Upload a File

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the document you want to attach the file to
slotIdstringYesThe ID of the slot you want to use for the upload. retrieve the slot ID using the /uploadmanager.newuploadslot (Create an Upload Slot) endpoint
payloadpricefx:TypedIdslotIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:FileOperationEnvelope|error

Sample code:

pricefx:FileOperationEnvelope result = check pricefxClient->uploadFile(typedId, slotId, payload);

Comments

addComment

Add a Comment

Parameters:

NameTypeRequiredDescription
payloadpricefx:CommentmanagerAddBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CommentOperationEnvelope|error

Sample code:

pricefx:CommentOperationEnvelope result = check pricefxClient->addComment(payload);
deleteComment

Delete a Comment

Parameters:

NameTypeRequiredDescription
typedIdstringYesComment or CommentThread typedId
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCommentEnvelope|error

Sample code:

pricefx:DeleteCommentEnvelope result = check pricefxClient->deleteComment(typedId);
editComment

Edit a Comment

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the comment you want to edit
payloadpricefx:CommentmanagerEdittypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CommentOperationEnvelope|error

Sample code:

pricefx:CommentOperationEnvelope result = check pricefxClient->editComment(typedId, payload);
listCommentThreads

List Comment Threads

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the object you want to fetch comments for
payloadpricefx:CommentmanagerFetchthreadstypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ListCommentThreadsQueriesYesQueries to be sent with the request

Returns: pricefx:ListCommentThreadsEnvelope|error

Sample code:

pricefx:ListCommentThreadsEnvelope result = check pricefxClient->listCommentThreads(typedId, payload, queries);
replyToComment

Reply To a Comment

Parameters:

NameTypeRequiredDescription
payloadpricefx:CommentmanagerReplyBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CommentOperationEnvelope|error

Sample code:

pricefx:CommentOperationEnvelope result = check pricefxClient->replyToComment(payload);
resolveComment

Resolve a Comment

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the comment thread
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ResolveCommentEnvelope|error

Sample code:

pricefx:ResolveCommentEnvelope result = check pricefxClient->resolveComment(typedId, payload);
unresolveComment

Unresolve a Comment

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the comment thread
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ResolveCommentEnvelope|error

Sample code:

pricefx:ResolveCommentEnvelope result = check pricefxClient->unresolveComment(typedId, payload);

Custom Forms

changeCustomFormStatus

Change a Custom Form Status

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Custom Form whose status you want to change
payloadpricefx:ChangeCustomFormStatusRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ChangeCustomFormStatusResponse|error

Sample code:

pricefx:ChangeCustomFormStatusResponse result = check pricefxClient->changeCustomFormStatus(typedId, payload);
createCustomForm

Create a Custom Form + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:CreateCustomFormRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CreateCustomFormEnvelope|error

Sample code:

pricefx:CreateCustomFormEnvelope result = check pricefxClient->createCustomForm(payload);
createCustomFormRevision

Create a Custom Form Revision

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Custom Form you want to create a revision from
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CustomFormRevisionEnvelope|error

Sample code:

pricefx:CustomFormRevisionEnvelope result = check pricefxClient->createCustomFormRevision(typedId, payload);
createCustomFormType

Create a Custom Form Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:CreateCustomFormTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CreateCustomFormTypeResponse|error

Sample code:

pricefx:CreateCustomFormTypeResponse result = check pricefxClient->createCustomFormType(payload);
deleteCustomForm

Delete a Custom Form

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCustomFormRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->deleteCustomForm(payload);
deleteCustomFormType

Delete a Custom Form Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCFOTBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCustomFormTypeEnvelope|error

Sample code:

pricefx:DeleteCustomFormTypeEnvelope result = check pricefxClient->deleteCustomFormType(payload);
duplicateCustomForm

Duplicate a Custom Form

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Custom Form you want to duplicate
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CustomFormRevisionEnvelope|error

Sample code:

pricefx:CustomFormRevisionEnvelope result = check pricefxClient->duplicateCustomForm(typedId, payload);
getCustomForm

Get a Custom Form

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Custom Form you want to retrieve details for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetCustomFormResponse|error

Sample code:

pricefx:GetCustomFormResponse result = check pricefxClient->getCustomForm(typedId);
listCustomFormTypes

List Custom Form Types

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListCustomFormTypesRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCustomFormTypesResponse|error

Sample code:

pricefx:ListCustomFormTypesResponse result = check pricefxClient->listCustomFormTypes(payload);
listCustomForms

List Custom Forms

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListCustomFormsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCustomFormsEnvelope|error

Sample code:

pricefx:ListCustomFormsEnvelope result = check pricefxClient->listCustomForms(payload);
previewCustomFormWorkflow

Preview a Custom Form Workflow

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:PreviewCustomFormWorkflowResponse|error

Sample code:

pricefx:PreviewCustomFormWorkflowResponse result = check pricefxClient->previewCustomFormWorkflow(payload);
updateCustomForm

Update a Custom Form

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCustomFormRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCustomFormEnvelope|error

Sample code:

pricefx:UpdateCustomFormEnvelope result = check pricefxClient->updateCustomForm(payload);
updateCustomFormType

Update a Custom Form Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCustomFormTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCustomFormTypeResponse|error

Sample code:

pricefx:UpdateCustomFormTypeResponse result = check pricefxClient->updateCustomFormType(payload);

Data Change Requests

addDataChangeRequest

Add a Data Change Request

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddDCRRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddDCRResponse|error

Sample code:

pricefx:AddDCRResponse result = check pricefxClient->addDataChangeRequest(payload);
addDataChangeRequestItem

Add a Data Change Request Item

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request you want to add the Data Change Request Item to
payloadpricefx:AddDCRIRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddDCRIResponse|error

Sample code:

pricefx:AddDCRIResponse result = check pricefxClient->addDataChangeRequestItem(id, payload);
deleteDataChangeRequestItem

Delete a Data Change Request Item

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request whose item you want to delete
payloadpricefx:DeleteDCRIRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteDCRIResponse|error

Sample code:

pricefx:DeleteDCRIResponse result = check pricefxClient->deleteDataChangeRequestItem(id, payload);
deleteDataChangeRequestMassChange

Delete a Data Change Request Mass Change

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request
payloadpricefx:DcrmanagerDeletemassopidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DataChangeRequestMassChangeEnvelope|error

Sample code:

pricefx:DataChangeRequestMassChangeEnvelope result = check pricefxClient->deleteDataChangeRequestMassChange(id, payload);
getDataChangeRequest

Get a Data Change Request

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request you want to retrieve
payloadpricefx:GetDCRRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetDCRResponse|error

Sample code:

pricefx:GetDCRResponse result = check pricefxClient->getDataChangeRequest(id, payload);
getDataChangeRequestChanges

Get a Data Change Request (changes only)

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request you want to retrieve changed items for
payloadpricefx:GetDCRRequestChangeOnlyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetDCRResponseChangeOnly|error

Sample code:

pricefx:GetDCRResponseChangeOnly result = check pricefxClient->getDataChangeRequestChanges(id, payload);
getDataChangeRequestMassChanges

Get Data Change Request Mass Changes

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request
payloadpricefx:DcrmanagerFetchmassopidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DataChangeRequestMassChangeEnvelope|error

Sample code:

pricefx:DataChangeRequestMassChangeEnvelope result = check pricefxClient->getDataChangeRequestMassChanges(id, payload);
massEditDataChangeRequestItems

Mass Edit Data Change Request Items

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request
payloadpricefx:DcrmanagerAddmassopidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DataChangeRequestMassChangeEnvelope|error

Sample code:

pricefx:DataChangeRequestMassChangeEnvelope result = check pricefxClient->massEditDataChangeRequestItems(id, payload);
submitDataChangeRequest

Submit a Data Change Request

Parameters:

NameTypeRequiredDescription
idstringYesid of the DCR to be submitted
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitDCRResponse|error

Sample code:

pricefx:SubmitDCRResponse result = check pricefxClient->submitDataChangeRequest(id, payload);
submitDataChangeRequestAsync

Submit a Data Change Request (async)

Parameters:

NameTypeRequiredDescription
idstringYesid of the DCR to be submitted
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitDCRAsyncResponse|error

Sample code:

pricefx:SubmitDCRAsyncResponse result = check pricefxClient->submitDataChangeRequestAsync(id, payload);
updateDataChangeRequestItem

Update a Data Change Request Item

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request whose item you want to update
payloadpricefx:UpdateDCRIRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateDCRIResponse|error

Sample code:

pricefx:UpdateDCRIResponse result = check pricefxClient->updateDataChangeRequestItem(id, payload);
updateDataChangeRequestMassChanges

Update Data Change Request Mass Changes

Parameters:

NameTypeRequiredDescription
idstringYesid of the Data Change Request
payloadpricefx:DcrmanagerUpdatemassopidBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DataChangeRequestMassChangeEnvelope|error

Sample code:

pricefx:DataChangeRequestMassChangeEnvelope result = check pricefxClient->updateDataChangeRequestMassChanges(id, payload);

Data Manager

createDMFieldCollection

Create a DMFieldCollection

Parameters:

NameTypeRequiredDescription
fcType"DMDS"|"DMT"YesThe type of FC (FieldCollection) you want to create
payloadpricefx:DatamartCreatefcfcTypeBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->createDMFieldCollection(fcType, payload);
createDataManagerEntity

Create a Data Manager Entity

Parameters:

NameTypeRequiredDescription
typeCode"DMF"|"DM"|"DMDS"YesThe type code of the Field Collection you want to update
payloadpricefx:CreateDataManagerEntityRequestYesEither uniqueName or typedId must be provided in the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DmObjectResponse|error

Sample code:

pricefx:DmObjectResponse result = check pricefxClient->createDataManagerEntity(typeCode, payload);
deleteDataManagerEntity

Delete a Data Manager Entity

Parameters:

NameTypeRequiredDescription
typeCode"DM"|"DMF"|"DMDS"YesThe type code of the Field Collection you want to delete
payloadpricefx:DeleteDataManagerEntityRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteDataManagerEntityResponse|error

Sample code:

pricefx:DeleteDataManagerEntityResponse result = check pricefxClient->deleteDataManagerEntity(typeCode, payload);
deleteDatamartOrphanObjects

Delete Datamart Orphan Objects

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DatamartOrphanObjectsEnvelope|error

Sample code:

pricefx:DatamartOrphanObjectsEnvelope result = check pricefxClient->deleteDatamartOrphanObjects();
executeDataLoadLogic

Execute a Data Load Logic

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Data Load you want to evaluate
logicNamestringYesThe name of the logic you want to execute
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ExecuteDataLoadLogicResponse|error

Sample code:

pricefx:ExecuteDataLoadLogicResponse result = check pricefxClient->executeDataLoadLogic(typedId, logicName);
exportCsvFile

Export a CSV File

Parameters:

NameTypeRequiredDescription
payloadpricefx:ExportCSVFileRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ExportCsvFileQueriesYesQueries to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->exportCsvFile(payload, queries);
exportDatamart

Export Datamart

Parameters:

NameTypeRequiredDescription
fcTypedIdOrSourceNamestringYesRestricts the export to a specific source, identified by either the 'typedId' or 'sourceName'.
payloadpricefx:ExportDatamartRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ExportDatamartQueriesYesQueries to be sent with the request

Returns: pricefx:ExportDatamartResponse|error

Sample code:

pricefx:ExportDatamartResponse result = check pricefxClient->exportDatamart(fcTypedIdOrSourceName, payload, queries);
exportExcelFileXlsx

Export an Excel File (XLSX)

Parameters:

NameTypeRequiredDescription
payloadpricefx:ExportExcelFileRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ExportExcelFileXlsxQueriesYesQueries to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->exportExcelFileXlsx(payload, queries);
fetchDataMartObject

Get a DM Object - 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 data within the request body

Parameters:

NameTypeRequiredDescription
objectIdstringYesUse one of the following object identifiers:
payloadpricefx:GetDMObjectRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:FetchDataMartObjectQueriesYesQueries to be sent with the request

Returns: pricefx:GetDMObjectResponse|error

Sample code:

pricefx:GetDMObjectResponse result = check pricefxClient->fetchDataMartObject(objectId, payload, queries);
getActionStatus

Get Action Status

Parameters:

NameTypeRequiredDescription
actionUUIDstringYesThe actionUUID to be sent with the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetActionStatusResponse|error

Sample code:

pricefx:GetActionStatusResponse result = check pricefxClient->getActionStatus(actionUUID);
getDataMartObject

Get a DM Object - 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 data within the request body

Parameters:

NameTypeRequiredDescription
objectIdstringYesUse one of the following object identifiers:
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:GetDataMartObjectQueriesYesQueries to be sent with the request

Returns: pricefx:DataMartObjectEnvelope|error

Sample code:

pricefx:DataMartObjectEnvelope result = check pricefxClient->getDataMartObject(objectId, queries);
getDmExportFile

Get a DM Export File

Parameters:

NameTypeRequiredDescription
fileNamestringYesThe name of the file previously created by a datamart.export request. The filename needs to be an exact match - no wildcards allowed, hence only one file at the time can be fetched
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->getDmExportFile(fileName);
getDmObjectNo

Get a DM Object (no count) - 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 data within the request body

Parameters:

NameTypeRequiredDescription
objectIdstringYesUse one of the following object identifiers:
payloadpricefx:GetDMObjectNoCountRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetDMObjectNoCountResponse|error

Sample code:

pricefx:GetDMObjectNoCountResponse result = check pricefxClient->getDmObjectNo(objectId, payload);
importDataLoad

Import a Data Load

Parameters:

NameTypeRequiredDescription
payloadpricefx:ImportDataLoadRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->importDataLoad(payload);
importDataMartFile

Import a File

Parameters:

NameTypeRequiredDescription
slotIdstringYesThe id of the slot. Create the slot and retrieve the id using the /uploadmanager.newuploadslot endpoint
typedIdstringYesThe typedId of the Data Manager entity
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->importDataMartFile(slotId, typedId);
listCharts

List Charts

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListChartsResponse|error

Sample code:

pricefx:ListChartsResponse result = check pricefxClient->listCharts();
listDataLoads

List Data Loads

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListDataLoadsResponse|error

Sample code:

pricefx:ListDataLoadsResponse result = check pricefxClient->listDataLoads();
listDataLoadsWith

List Data Loads (with validation and schedules)

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListDataLoadsWithValidationResponse|error

Sample code:

pricefx:ListDataLoadsWithValidationResponse result = check pricefxClient->listDataLoadsWith();
listDataManagerEntities

List Data Manager Entities

Parameters:

NameTypeRequiredDescription
typeCode"DM"|"DMDS"|"DMF"|"DMT"YesThe type code of the Field Collection
payloadpricefx:ListDataManagerEntitiesRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DmObjectResponse|error

Sample code:

pricefx:DmObjectResponse result = check pricefxClient->listDataManagerEntities(typeCode, payload);
listDatamartOrphanObjects

List Datamart Orphan Objects

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DatamartOrphanObjectsEnvelope|error

Sample code:

pricefx:DatamartOrphanObjectsEnvelope result = check pricefxClient->listDatamartOrphanObjects();
listRollups

List Rollups

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListRollupsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListRollupsResponse|error

Sample code:

pricefx:ListRollupsResponse result = check pricefxClient->listRollups(payload);
massEditDataMartObject

Mass Edit

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the object you want to perform the mass edit action for
payloadpricefx:MassEditRequest1YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassEditDatamartResponse|error

Sample code:

pricefx:MassEditDatamartResponse result = check pricefxClient->massEditDataMartObject(typedId, payload);
queryDataManagerObject

Query a Data Manager Object

Parameters:

NameTypeRequiredDescription
payloadpricefx:QueryDataManagerObjectRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:QueryDataManagerObjectQueriesYesQueries to be sent with the request

Returns: pricefx:QueryDataManagerObjectResponse|error

Sample code:

pricefx:QueryDataManagerObjectResponse result = check pricefxClient->queryDataManagerObject(payload, queries);
restoreDefaultDataSources

Restore Default Data Sources

Parameters:

NameTypeRequiredDescription
dataSourceName"Product"|"Customer"|"uom"|"ccy"|"cal"YesThe name of the Data Source you want to create.
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RestoreDefaultDataSourcesResponse|error

Sample code:

pricefx:RestoreDefaultDataSourcesResponse result = check pricefxClient->restoreDefaultDataSources(dataSourceName);
runDataLoad

Run a Data Load

Parameters:

NameTypeRequiredDescription
payloadpricefx:RunDataLoadRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RunDataLoadResponse|error

Sample code:

pricefx:RunDataLoadResponse result = check pricefxClient->runDataLoad(payload);
saveDataLoad

Save a Data Load

Parameters:

NameTypeRequiredDescription
payloadpricefx:DatamartUpdatedataloadBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DataLoadEnvelope|error

Sample code:

pricefx:DataLoadEnvelope result = check pricefxClient->saveDataLoad(payload);
sqlQueryDataManagerObject

SQL Query a Data Manager Object

Parameters:

NameTypeRequiredDescription
payloadpricefx:DatamartSqlqueryBodyYessources that 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
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:SqlQueryDataManagerObjectQueriesYesQueries to be sent with the request

Returns: pricefx:QueryDataManagerObjectResponse|error

Sample code:

pricefx:QueryDataManagerObjectResponse result = check pricefxClient->sqlQueryDataManagerObject(payload, queries);
updateDataManagerEntity

Update a Data Manager Entity

Parameters:

NameTypeRequiredDescription
typeCode"DMF"|"DM"|"DMDS"YesThe type code of the Field Collection you want to update
payloadpricefx:UpdateDataManagerEntityRequestYesEither uniqueName or typedId must be provided in the request
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DmObjectResponse|error

Sample code:

pricefx:DmObjectResponse result = check pricefxClient->updateDataManagerEntity(typeCode, payload);
uploadBulkDataToDataSource

Upload a Bulk Data to Data Source

Parameters:

NameTypeRequiredDescription
datasourceUniqueNamestringYesThe unique name of the Data Source where you want to upload the data to. You can also use typedId or the source name
payloadpricefx:UploadBulkDataToDataSourceRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:BulkDataUploadEnvelope|error

Sample code:

pricefx:BulkDataUploadEnvelope result = check pricefxClient->uploadBulkDataToDataSource(datasourceUniqueName, payload);

Imports

deleteImportChanges

Delete Import Changes

Parameters:

NameTypeRequiredDescription
payloadpricefx:ImportmanagerDeletechangesBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->deleteImportChanges(payload);
listImportManagerChanges

List ImportManager Changes

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe uniqueName to be sent with the request
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListImportManagerChangesEnvelope|error

Sample code:

pricefx:ListImportManagerChangesEnvelope result = check pricefxClient->listImportManagerChanges(uniqueName, payload);
massDeleteImports

Mass Delete Imports

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadpricefx:ImportmanagerMassdeletetypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassDeleteImportsEnvelope|error

Sample code:

pricefx:MassDeleteImportsEnvelope result = check pricefxClient->massDeleteImports(typedId, payload);
massEditImports

Mass Edit Imports

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadpricefx:ImportmanagerMassedittypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassEditImportsEnvelope|error

Sample code:

pricefx:MassEditImportsEnvelope result = check pricefxClient->massEditImports(typedId, payload);
saveImportChange

Save Import Change

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SaveImportChangeEnvelope|error

Sample code:

pricefx:SaveImportChangeEnvelope result = check pricefxClient->saveImportChange(payload);
submitChanges

Submit Changes

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the import
payloadpricefx:ImportmanagerSubmittypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ImportManagerUploadEnvelope|error

Sample code:

pricefx:ImportManagerUploadEnvelope result = check pricefxClient->submitChanges(typedId, payload);
uploadExcelToImportManager

Upload Excel to Import Manager

Parameters:

NameTypeRequiredDescription
typeCode"P"|"PX"YesTarget object type code
targetstringYesProvides additional details about the target object, such as specifying a PX name if required
slotIdstringYesID of the Upload Slot
payloadpricefx:TypeCodetargetBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:UploadExcelToImportManagerQueriesYesQueries to be sent with the request

Returns: pricefx:ImportManagerUploadEnvelope|error

Sample code:

pricefx:ImportManagerUploadEnvelope result = check pricefxClient->uploadExcelToImportManager(typeCode, target, slotId, payload, queries);

Lookup Tables / Company Parameters

addLookupTable

Add a Lookup Table

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddLookupTableRequestYesThe request must contain all fields that are part of the business key for that object and all non-nullable fields
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddLookupTableResponse|error

Sample code:

pricefx:AddLookupTableResponse result = check pricefxClient->addLookupTable(payload);
addLookupTableValue

Add a Lookup Table Value

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method
payloadpricefx:AddLookupTableValueRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddLookupTableValueResponse|error

Sample code:

pricefx:AddLookupTableValueResponse result = check pricefxClient->addLookupTableValue(tableId, payload);
copyLookupTable

Copy a Lookup Table

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table you want to copy
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CopyLookupTableResponse|error

Sample code:

pricefx:CopyLookupTableResponse result = check pricefxClient->copyLookupTable(tableId);
deleteColumnValuesMatrix

Delete Column Values (Matrix only)

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method
columnNamestringYesEnter the name of the column you want to delete values from
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->deleteColumnValuesMatrix(tableId, columnName);
deleteLookupTable

Delete a Lookup Table

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteLookupTableRequestYesSpecify the typedId of the Lookup Table (Company Parameters) you want to delete
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteLookupTableResponse|error

Sample code:

pricefx:DeleteLookupTableResponse result = check pricefxClient->deleteLookupTable(payload);
deleteLookupTableValue

Delete a Lookup Table Value + payload -

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method
payloadpricefx:DeleteLookupTableValueRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteLookupTableValueResponse|error

Sample code:

pricefx:DeleteLookupTableValueResponse result = check pricefxClient->deleteLookupTableValue(tableId, payload);
getLogicReferences

Get Logic References

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table you want to retrieve logic references for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetLogicReferencesResponse|error

Sample code:

pricefx:GetLogicReferencesResponse result = check pricefxClient->getLogicReferences(tableId);
insertBulkDataToLookupTable

Insert Bulk Data to Lookup Table

Parameters:

NameTypeRequiredDescription
typeCode"JLTV"|"JLTVM"|"LT"|"LTT"|"LTV"|"MLTV"|"MLTV2"|"MLTV3"|"MLTV4"|"MLTV5"|"MLTV6"|"MLTVM"YesEnter the type code of the Lookup Table entity you want to insert a data to
payloadpricefx:InsertBulkDataToLookupTableRequestYesWe used /lookuptablemanager.loaddata/MLTV in the request example to insert bulk data to Matrix Lookup Table. Notice that the lookupTable is used in the header section and then ID of the Lookup Table in the data section
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:InsertBulkDataLookupTableResponse|error

Sample code:

pricefx:InsertBulkDataLookupTableResponse result = check pricefxClient->insertBulkDataToLookupTable(typeCode, payload);
listAllLookupTableValues

List All Lookup Table Values

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method
payloadpricefx:ListAllLookupTableValuesRequestYesYou can specify the start and end row to limit the number of retrieved records
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ListAllLookupTableValuesQueriesYesQueries to be sent with the request

Returns: pricefx:ListAllLookupTableValuesResponse|error

Sample code:

pricefx:ListAllLookupTableValuesResponse result = check pricefxClient->listAllLookupTableValues(tableId, payload, queries);
listAllLookupTables

List All Lookup Tables

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListAllLookupTablesRequestYesYou can specify the start and end row to limit the number of retrieved Lookup Tables / Company Parameters
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListAllLookupTablesResponse|error

Sample code:

pricefx:ListAllLookupTablesResponse result = check pricefxClient->listAllLookupTables(payload);
massDeleteLookupTableValues

Mass Delete Lookup Table Values + payload -

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method
payloadpricefx:TableIdBatchBodyYes
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:MassDeleteLookupTableValuesQueriesYesQueries to be sent with the request

Returns: pricefx:DeleteLookupTableValueResponse1|error

Sample code:

pricefx:DeleteLookupTableValueResponse1 result = check pricefxClient->massDeleteLookupTableValues(tableId, payload, queries);
massEditLookupTable

Mass Edit

Parameters:

NameTypeRequiredDescription
tableIdstringYesThe ID of the Lookup Table whose values you want to update
payloadpricefx:MassEditRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassEditResponse|error

Sample code:

pricefx:MassEditResponse result = check pricefxClient->massEditLookupTable(tableId, payload);
updateLookupTable

Update a Lookup Table + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateLookupTableRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateLookupTableResponse|error

Sample code:

pricefx:UpdateLookupTableResponse result = check pricefxClient->updateLookupTable(payload);
updateLookupTableValue

Update a Lookup Table Value

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method
payloadpricefx:UpdateLookupTableValueRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateLookupTableValueResponse|error

Sample code:

pricefx:UpdateLookupTableValueResponse result = check pricefxClient->updateLookupTableValue(tableId, payload);
upsertLookupTableValue

Upsert a Lookup Table Value

Parameters:

NameTypeRequiredDescription
tableIdstringYesEnter the ID of the table. The ID can be retrieved using the /lookuptablemanager.fetch method
payloadpricefx:UpsertLookupTableValueRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpsertLookupTableValueResponse|error

Sample code:

pricefx:UpsertLookupTableValueResponse result = check pricefxClient->upsertLookupTableValue(tableId, payload);

Key-Value Store

countKeys

Count Keys

Parameters:

NameTypeRequiredDescription
tableNamestringYesThe table to count keys from
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->countKeys(tableName);
createKvTable

Create a KV Table

Parameters:

NameTypeRequiredDescription
tableNamestringYesA name of the table you want create. Only lower case letters, numbers and underscores are allowed. Do not use special characters
payloadpricefx:CreateKVTableRequestYesThe sample request creates a table with four columns: sku, customer, record and payload (TEXT).<br>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->createKvTable(tableName, payload);
deleteKey

Delete a Key

Parameters:

NameTypeRequiredDescription
tableNamestringYesThe tableName to be sent with the request
payloadpricefx:DeleteKVKeyRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->deleteKey(tableName, payload);
dropKvTable

Drop a KV Table

Parameters:

NameTypeRequiredDescription
tableNamestringYesA name of the table you want drop. Only lower case letters, numbers and underscores are allowed. Do not use special characters
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: record

Sample code:

record result = check pricefxClient->dropKvTable(tableName, payload);
getKey

Get a Key

Parameters:

NameTypeRequiredDescription
tableNamestringYesA name of the table you want to retrieve the "payload" from
payloadpricefx:GetKVKeyRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->getKey(tableName, payload);
getTableInfo

Get a Table Info

Parameters:

NameTypeRequiredDescription
tableNamestringYesA name of the table you want to retrieve information about
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetKVTableInfoResponse|error

Sample code:

pricefx:GetKVTableInfoResponse result = check pricefxClient->getTableInfo(tableName);
insertBulkKvData

Insert Bulk KV Data

Parameters:

NameTypeRequiredDescription
tableNamestringYesA name of the table you want upload data to
payloadpricefx:InsertBulkKVDataRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->insertBulkKvData(tableName, payload);
listKvTables

List KV Tables

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListKVTablesResponse|error

Sample code:

pricefx:ListKVTablesResponse result = check pricefxClient->listKvTables();
searchKvTable

Search a KV Table + payload -

Parameters:

NameTypeRequiredDescription
tableNamestringYesA name of the table you want to search the pattern for
payloadpricefx:SearchKVTableRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SearchKvTableEnvelope[]|error

Sample code:

pricefx:SearchKvTableEnvelope[] result = check pricefxClient->searchKvTable(tableName, payload);
truncateTable

Truncate a Table

Parameters:

NameTypeRequiredDescription
tableNamestringYesThe table you want to remove the keys from
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:TruncateKVTableResponse|error

Sample code:

pricefx:TruncateKVTableResponse result = check pricefxClient->truncateTable(tableName);
upsertKey

Upsert a Key + payload -

Parameters:

NameTypeRequiredDescription
tableNamestringYesA name of the table you want to upsert the key into
payloadpricefx:UpsertKVKeyRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpsertKVKeyResponse|error

Sample code:

pricefx:UpsertKVKeyResponse result = check pricefxClient->upsertKey(tableName, payload);

Logics

copyLogic

Copy a Logic

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the logic. you want to copy. The id is the typedId without the F suffix. For example, the id attribute of the item with typedId = 2147484837.F is 2147484837
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CopyLogicResponse|error

Sample code:

pricefx:CopyLogicResponse result = check pricefxClient->copyLogic(id);
deleteLogic

Delete a Logic

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the logic you want to delete. id is the typedId without F suffix. For example, the id attribute of the item with typedId = 2147484835.F is 2147484835
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteLogicResponse|error

Sample code:

pricefx:DeleteLogicResponse result = check pricefxClient->deleteLogic(id);
executeLibraryFunction

Execute Library Function

Parameters:

NameTypeRequiredDescription
formulaNamestringYesName of the formula library containing the function
elementNamestringYesName of the library element containing the function
functionNamestringYesName of the function to execute
payloadpricefx:ElementNamefunctionNameBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->executeLibraryFunction(formulaName, elementName, functionName, payload);
executeLogicInService

Execute a Logic Without a Context in a Service + payload -

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe name (uniqueName) of the logic you want to execute
payloadrecord {record {} data?;}Yes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LogicResponse|error

Sample code:

pricefx:LogicResponse result = check pricefxClient->executeLogicInService(uniqueName, payload);
executeLogicInServiceReadOnly

Execute a Logic Without a Context in a Service (Read-Only)

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe name (uniqueName) of the logic you want to execute
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ExecuteLogicReadOnlyResponse|error

Sample code:

pricefx:ExecuteLogicReadOnlyResponse result = check pricefxClient->executeLogicInServiceReadOnly(uniqueName);
executeLogicRead

Execute a Logic (Read-Only)

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe name (uniqueName) of the logic you want to execute
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ExecuteLogicReadOnlyResponse|error

Sample code:

pricefx:ExecuteLogicReadOnlyResponse result = check pricefxClient->executeLogicRead(uniqueName);
executeLogicWithout

Execute a Logic (Without a Context) + payload -

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe name (uniqueName) of the logic you want to execute
payloadrecord {record {} data?;}Yes
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ExecuteLogicWithoutQueriesYesQueries to be sent with the request

Returns: pricefx:ExecuteLogicWithoutProductContextResponse|error

Sample code:

pricefx:ExecuteLogicWithoutProductContextResponse result = check pricefxClient->executeLogicWithout(uniqueName, payload, queries);
executeNamedProductLogic

Execute a Logic + payload -

Parameters:

NameTypeRequiredDescription
skustringYesThe sku or typedId of the product you want to execute the assigned logic for
uniqueNamestringYesThe name (uniqueName) of the logic you want to execute
payloadrecord {record {} data?;}Yes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ExecuteLogicResponse|error

Sample code:

pricefx:ExecuteLogicResponse result = check pricefxClient->executeNamedProductLogic(sku, uniqueName, payload);
executeProductLogic

Execute an Assigned Logic + payload -

Parameters:

NameTypeRequiredDescription
skustringYesThe sku or typedId of the product you want to execute the logic for
payloadrecord {record {} data?;}Yes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ExecuteAssignedLogicResponse|error

Sample code:

pricefx:ExecuteAssignedLogicResponse result = check pricefxClient->executeProductLogic(sku, payload);
generateParameters

Generate Parameters

Parameters:

NameTypeRequiredDescription
payloadpricefx:GenerateParametersRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenerateParametersResponse|error

Sample code:

pricefx:GenerateParametersResponse result = check pricefxClient->generateParameters(payload);
getDefaultPricingLogicName

Get a Default Pricing Logic Name

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetDefaultPricingLogicNameResponse|error

Sample code:

pricefx:GetDefaultPricingLogicNameResponse result = check pricefxClient->getDefaultPricingLogicName();
getLogic

Get a Logic

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the logic you want to retrieve details for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetLogicResponse|error

Sample code:

pricefx:GetLogicResponse result = check pricefxClient->getLogic(id);
listElements

List Elements

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe name (uniqueName) of the logic you want to list elements for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListElementsResponse|error

Sample code:

pricefx:ListElementsResponse result = check pricefxClient->listElements(uniqueName);
listFunctions

List Functions

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListFunctionsResponse|error

Sample code:

pricefx:ListFunctionsResponse result = check pricefxClient->listFunctions();
listLibraries

List Libraries

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListLibrariesResponse|error

Sample code:

pricefx:ListLibrariesResponse result = check pricefxClient->listLibraries();
listLogicParametersInput

List Logic Parameters (Input Fields)

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe 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
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListLogicInputFieldsResponse|error

Sample code:

pricefx:ListLogicInputFieldsResponse result = check pricefxClient->listLogicParametersInput(uniqueName);
listLogics

List Logics

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListLogicsResponse|error

Sample code:

pricefx:ListLogicsResponse result = check pricefxClient->listLogics();
setDefaultPricingLogic

Set a Default Pricing Logic

Parameters:

NameTypeRequiredDescription
uniqueNamestringYesThe name (uniqueName) of the logic that will be set as default. Leave blank to clear the default pricing logic
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SetDefaultPricingLogicResponse|error

Sample code:

pricefx:SetDefaultPricingLogicResponse result = check pricefxClient->setDefaultPricingLogic(uniqueName);
syntaxCheck

Syntax Check

Parameters:

NameTypeRequiredDescription
payloadpricefx:SyntaxCheckRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->syntaxCheck(payload);
testLogic

Test a Logic

Parameters:

NameTypeRequiredDescription
payloadpricefx:TestLogicRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:TestLogicEnvelope|error

Sample code:

pricefx:TestLogicEnvelope result = check pricefxClient->testLogic(payload);
updateLogic

Update a Logic

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the logic. The id is the typedId without the F suffix. For example, the id attribute of the item with typedId = 2147484837.F is 2147484837
payloadrecord {record {decimal version?; string typedId?; string uniqueName?; string label?; string validAfter?; string status?; anydata simulationSet?; anydata userGroupEdit?; anydata userGroupViewDetails?; anydata formulaNature?; string lastUpdateByName?; record {decimal version?; string typedId?; string elementName?; string elementLabel?; anydata elementDescription?; string[] elementGroups?; anydata conditionElementName?; boolean hideWarnings?; boolean excludeFromExport?; boolean protectedExpression?; decimal elementTimeout?; decimal displayOptions?; string? formatType?; anydata elementSuffix?; boolean allowOverride?; boolean summarize?; boolean hideOnNull?; anydata userGroup?; anydata cssProperties?; anydata resultGroup?; string combinationType?; boolean storeInAttributeExtension?; anydata criticalAlert?; anydata redAlert?; anydata yellowAlert?; anydata labelTranslations?; string createDate?; decimal createdBy?; string lastUpdateDate?; decimal lastUpdateBy?; string formulaExpression?;}[] elements?; record {}[] inputDescriptors?; string formulaType?; anydata createdByName?; string createDate?; decimal createdBy?; string lastUpdateDate?; decimal lastUpdateBy?;} data?;}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LogicResponse|error

Sample code:

pricefx:LogicResponse result = check pricefxClient->updateLogic(id, payload);
updateLogicNo

Update a Logic (No syntax check)

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the logic. The id is the typedId without the F suffix. For example, the id attribute of the item with typedId = 2147484837.F is 2147484837
payloadrecord {record {decimal version?; string typedId?; string uniqueName?; string label?; string validAfter?; string status?; anydata simulationSet?; anydata userGroupEdit?; anydata userGroupViewDetails?; anydata formulaNature?; string lastUpdateByName?; record {decimal version?; string typedId?; string elementName?; string elementLabel?; anydata elementDescription?; string[] elementGroups?; anydata conditionElementName?; boolean hideWarnings?; boolean excludeFromExport?; boolean protectedExpression?; decimal elementTimeout?; decimal displayOptions?; string? formatType?; anydata elementSuffix?; boolean allowOverride?; boolean summarize?; boolean hideOnNull?; anydata userGroup?; anydata cssProperties?; anydata resultGroup?; string combinationType?; boolean storeInAttributeExtension?; anydata criticalAlert?; anydata redAlert?; anydata yellowAlert?; anydata labelTranslations?; string createDate?; decimal createdBy?; string lastUpdateDate?; decimal lastUpdateBy?; string formulaExpression?;}[] elements?; record {}[] inputDescriptors?; string formulaType?; anydata createdByName?; string createDate?; decimal createdBy?; string lastUpdateDate?; decimal lastUpdateBy?;} data?;}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LogicResponse|error

Sample code:

pricefx:LogicResponse result = check pricefxClient->updateLogicNo(id, payload);
updateLogicPartial

Update a Logic (Partial)

Parameters:

NameTypeRequiredDescription
idstringYesThe ID of the logic. The id is the typedId without the F suffix. For example, the id attribute of the item with typedId = 2147484837.F is 2147484837
payloadrecord {record {decimal version?; string typedId?; string uniqueName?; string label?; string validAfter?; string status?; anydata simulationSet?; anydata userGroupEdit?; anydata userGroupViewDetails?; anydata formulaNature?; string lastUpdateByName?; record {decimal version?; string typedId?; string elementName?; string elementLabel?; anydata elementDescription?; string[] elementGroups?; anydata conditionElementName?; boolean hideWarnings?; boolean excludeFromExport?; boolean protectedExpression?; decimal elementTimeout?; decimal displayOptions?; string? formatType?; anydata elementSuffix?; boolean allowOverride?; boolean summarize?; boolean hideOnNull?; anydata userGroup?; anydata cssProperties?; anydata resultGroup?; string combinationType?; boolean storeInAttributeExtension?; anydata criticalAlert?; anydata redAlert?; anydata yellowAlert?; anydata labelTranslations?; string createDate?; decimal createdBy?; string lastUpdateDate?; decimal lastUpdateBy?; string formulaExpression?;}[] elements?; record {}[] inputDescriptors?; string formulaType?; anydata createdByName?; string createDate?; decimal createdBy?; string lastUpdateDate?; decimal lastUpdateBy?;} data?;}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LogicResponse|error

Sample code:

pricefx:LogicResponse result = check pricefxClient->updateLogicPartial(id, payload);

Calculation Grids

acceptCalculationGridItem

Submit a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Calculation Grid you want to submit items for. You can retrieve the id of the CG, for example, by calling the /fetch/CG endpoint
payloadpricefx:SubmitCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitCalculationGridItemResponse|error

Sample code:

pricefx:SubmitCalculationGridItemResponse result = check pricefxClient->acceptCalculationGridItem(id, payload);
addCalculationGrid

Add a Calculation Grid

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddCalculationGridResponse|error

Sample code:

pricefx:AddCalculationGridResponse result = check pricefxClient->addCalculationGrid(payload);
addCalculationGridItem

Add a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
payloadpricefx:AddCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddCalculationGridItemResponse|error

Sample code:

pricefx:AddCalculationGridItemResponse result = check pricefxClient->addCalculationGridItem(keyNumber, payload);
calculateCalculationGrid

Calculate a Calculation Grid

Parameters:

NameTypeRequiredDescription
idstringYesid of the Calculation Grid you want to calculate
payloadpricefx:CalculateCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CalculateCalculationGridResponse|error

Sample code:

pricefx:CalculateCalculationGridResponse result = check pricefxClient->calculateCalculationGrid(id, payload);
deleteCalculationGrid

Delete a Calculation Grid

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCalculationGridResponse|error

Sample code:

pricefx:DeleteCalculationGridResponse result = check pricefxClient->deleteCalculationGrid(payload);
deleteCalculationGridItem

Delete a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
payloadpricefx:DeleteCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteCalculationGridItemResponse|error

Sample code:

pricefx:DeleteCalculationGridItemResponse result = check pricefxClient->deleteCalculationGridItem(keyNumber, payload);
getCalculationGrid

Get a Calculation Grid

Parameters:

NameTypeRequiredDescription
idstringYesID of the Calculation Grid you want to retrieve
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetCalculationGridResponse|error

Sample code:

pricefx:GetCalculationGridResponse result = check pricefxClient->getCalculationGrid(id, payload);
getCalculationGridItem

Get a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
idstringYesid of the Calculation Grid Item you want to fetch
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetCalculationGridItemResponse|error

Sample code:

pricefx:GetCalculationGridItemResponse result = check pricefxClient->getCalculationGridItem(keyNumber, id, payload);
listCalculationGridItems

List Calculation Grid Items

Parameters:

NameTypeRequiredDescription
keyNumber"1"|"2"|"3"|"4"|"5"|"6"YesUse CGI1..CGI6 in the path, where numbers from 1 to 6 refer to Calculation Grid Item keys
payloadpricefx:ListCalculationGridItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCalculationGridItemsResponse|error

Sample code:

pricefx:ListCalculationGridItemsResponse result = check pricefxClient->listCalculationGridItems(keyNumber, payload);
listCalculationGrids

List Calculation Grids

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListCalculationGridsResponse|error

Sample code:

pricefx:ListCalculationGridsResponse result = check pricefxClient->listCalculationGrids(payload);
rejectCalculationGridItem

Deny a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesThe id of the Calculation Grid you want to deny items for. You can retrieve the id of the CG, for example, by calling the /fetch/CG endpoint
payloadpricefx:DenyCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DenyCalculationGridItemResponse|error

Sample code:

pricefx:DenyCalculationGridItemResponse result = check pricefxClient->rejectCalculationGridItem(id, payload);
updateCalculationGrid

Update a Calculation Grid

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateCalculationGridRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCalculationGridResponse|error

Sample code:

pricefx:UpdateCalculationGridResponse result = check pricefxClient->updateCalculationGrid(payload);
updateCalculationGridItem

Update a Calculation Grid Item

Parameters:

NameTypeRequiredDescription
idstringYesid of the Calculation Grid Item you want to update
payloadpricefx:UpdateCalculationGridItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateCalculationGridItemResponse|error

Sample code:

pricefx:UpdateCalculationGridItemResponse result = check pricefxClient->updateCalculationGridItem(id, payload);

Action Types

addActionType

Add an Action Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddActionTypeRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddActionTypeResponse|error

Sample code:

pricefx:AddActionTypeResponse result = check pricefxClient->addActionType(payload);
deleteActionItemType

Delete an Action Item Type

Parameters:

NameTypeRequiredDescription
payloadrecord {record {string typedId;} data;}YesThe general delete request. Deletes the object specified by typedId in the request body
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteActionItemTypeResponse|error

Sample code:

pricefx:DeleteActionItemTypeResponse result = check pricefxClient->deleteActionItemType(payload);
listActionTypes

List Action Types

Parameters:

NameTypeRequiredDescription
payloadrecord {int endRow?; record {}? oldValues?; string operationType?; int startRow?; string textMatchStyle?; record {string _constructor?; string operator?; record {string fieldName?; string operator?; string value?;}[] criteria?;} data?;}YesA general fetch request. A filter can be applied
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListActionTypesResponse|error

Sample code:

pricefx:ListActionTypesResponse result = check pricefxClient->listActionTypes(payload);
updateActionType

Update an Action Type

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateAITBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateActionTypeResponse|error

Sample code:

pricefx:UpdateActionTypeResponse result = check pricefxClient->updateActionType(payload);

Actions

createActionItem

Create an Action Item + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddActionItemRequestYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddActionItemResponse|error

Sample code:

pricefx:AddActionItemResponse result = check pricefxClient->createActionItem(payload);
deleteActionItem

Delete an Action Item

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteActionItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteActionItemResponse|error

Sample code:

pricefx:DeleteActionItemResponse result = check pricefxClient->deleteActionItem(payload);
executeLogic

Execute a Logic

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe typeCode of the Action Item you want to execute the calculation for
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ExecuteActionItemLogicResponse|error

Sample code:

pricefx:ExecuteActionItemLogicResponse result = check pricefxClient->executeLogic(typeCode, payload);
listActionItems

List Action Items

Parameters:

NameTypeRequiredDescription
payloadpricefx:FetchAIBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListActionItemsResponse|error

Sample code:

pricefx:ListActionItemsResponse result = check pricefxClient->listActionItems(payload);
updateActionItem

Update an Action Item

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateActionItemRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateActionItemResponse|error

Sample code:

pricefx:UpdateActionItemResponse result = check pricefxClient->updateActionItem(payload);

Jobs & Tasks

cancelJob

Cancel a Job

Parameters:

NameTypeRequiredDescription
idstringYesid if the job you want to cancel
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->cancelJob(id, payload);
listJobs

List Jobs

Parameters:

NameTypeRequiredDescription
payloadrecord {int endRow?; record {}? oldValues?; string operationType?; int startRow?; string textMatchStyle?; record {string _constructor?; string operator?; record {string fieldName?; string operator?; string value?;}[] criteria?;} data?;}YesA general fetch request. A filter can be applied
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListJSTResponse|error

Sample code:

pricefx:ListJSTResponse result = check pricefxClient->listJobs(payload);

Workflow

addApproverStep

Add an Approver Step

Parameters:

NameTypeRequiredDescription
currentStepIdstringYesThe ID of the workflow step. It can be retrieved using the /workflowsmanager.fetch/active (List Pending Approvals) endpoint
payloadpricefx:AddApproverStepRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddApproverStepResponse|error

Sample code:

pricefx:AddApproverStepResponse result = check pricefxClient->addApproverStep(currentStepId, payload);
addWatcherStep

Add a Watcher Step

Parameters:

NameTypeRequiredDescription
currentStepIdstringYesThe ID of the workflow step. It can be retrieved using the /workflowsmanager.fetch/active (List Pending Approvals) endpoint
payloadpricefx:AddWatcherStepRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddWatcherStepResponse|error

Sample code:

pricefx:AddWatcherStepResponse result = check pricefxClient->addWatcherStep(currentStepId, payload);
approveDocument

Approve a Document

Parameters:

NameTypeRequiredDescription
currentStepIdstringYesThe ID of the workflow step. It can be retrieved using the /workflowsmanager.fetch/active (List Pending Approvals) endpoint
payloadpricefx:ApproveDocumentRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ApproveDocumentResponse|error

Sample code:

pricefx:ApproveDocumentResponse result = check pricefxClient->approveDocument(currentStepId, payload);
denyDocument

Deny a Document

Parameters:

NameTypeRequiredDescription
currentStepIdstringYesThe ID of the workflow step. It can be retrieved using the /workflowsmanager.fetch/active (List Pending Approvals) endpoint
payloadpricefx:DenyDocumentRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DenyDocumentResponse|error

Sample code:

pricefx:DenyDocumentResponse result = check pricefxClient->denyDocument(currentStepId, payload);
fetchPendingReviews

Fetch Pending Reviews

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:FetchPendingReviewsEnvelope|error

Sample code:

pricefx:FetchPendingReviewsEnvelope result = check pricefxClient->fetchPendingReviews();
getWorkflowDocument

Get a Workflow Document

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the approvable object you want to retrieve workflow details for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetWorkflowDocumentResponse|error

Sample code:

pricefx:GetWorkflowDocumentResponse result = check pricefxClient->getWorkflowDocument(typedId);
listPendingApprovals

List Pending Approvals

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListPendingApprovalsResponse|error

Sample code:

pricefx:ListPendingApprovalsResponse result = check pricefxClient->listPendingApprovals();
listUserSPendingApprovals

List User's Pending Approvals

Parameters:

NameTypeRequiredDescription
loginNamestringYesThe login name of the user you want to retrieve Pending Workflows for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListUserPendingApprovalsResponse|error

Sample code:

pricefx:ListUserPendingApprovalsResponse result = check pricefxClient->listUserSPendingApprovals(loginName);
listWorkflows

List Workflows

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListWorkflowsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListWorkflowsResponse|error

Sample code:

pricefx:ListWorkflowsResponse result = check pricefxClient->listWorkflows(payload);
setReviewAsDone

Set a Review as Done

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the object to mark as reviewed
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->setReviewAsDone(typedId, payload);
updateReviewStatus

Update a Review Status

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the object to update
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->updateReviewStatus(typedId, payload);
withdrawDocument

Withdraw a Document

Parameters:

NameTypeRequiredDescription
currentStepIdstringYesThe ID of the workflow step. It can be retrieved using the /workflowsmanager.fetch/active (List Pending Approvals) endpoint
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:WithdrawDocumentResponse|error

Sample code:

pricefx:WithdrawDocumentResponse result = check pricefxClient->withdrawDocument(currentStepId);

Workflow Delegation

createWorkflowDelegation

Create a Workflow Delegation

Parameters:

NameTypeRequiredDescription
payloadpricefx:CreateWorkflowDelegationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:CreateWorkflowDelegationResponse|error

Sample code:

pricefx:CreateWorkflowDelegationResponse result = check pricefxClient->createWorkflowDelegation(payload);
deactivateWorkflowDelegation

Deactivate a Workflow Delegation

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeactivateWorkflowDelegationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeactivateWorkflowDelegationResponse|error

Sample code:

pricefx:DeactivateWorkflowDelegationResponse result = check pricefxClient->deactivateWorkflowDelegation(payload);
deleteWorkflowDelegation

Delete a Workflow Delegation

Parameters:

NameTypeRequiredDescription
payloadpricefx:DeleteWorkflowDelegationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteWorkflowDelegationResponse|error

Sample code:

pricefx:DeleteWorkflowDelegationResponse result = check pricefxClient->deleteWorkflowDelegation(payload);
listDelegatedWorkflows

List Delegated Workflows

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListDelegatedWorkflowsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListDelegatedWorkflowsResponse|error

Sample code:

pricefx:ListDelegatedWorkflowsResponse result = check pricefxClient->listDelegatedWorkflows(payload);
updateWorkflowDelegation

Update a Workflow Delegation

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateWorkflowDelegationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateWorkflowDelegationResponse|error

Sample code:

pricefx:UpdateWorkflowDelegationResponse result = check pricefxClient->updateWorkflowDelegation(payload);
validateWorkflowDelegation

Validate a Workflow Delegation

Parameters:

NameTypeRequiredDescription
payloadpricefx:ValidateWorkflowDelegationRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ValidateWorkflowDelegationResponse|error

Sample code:

pricefx:ValidateWorkflowDelegationResponse result = check pricefxClient->validateWorkflowDelegation(payload);

Notifications

deleteNotification

Delete a Notification

Parameters:

NameTypeRequiredDescription
payloadpricefx:NotificationSetreadBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteNotificationEnvelope|error

Sample code:

pricefx:DeleteNotificationEnvelope result = check pricefxClient->deleteNotification(payload);
listNotifications

List Notifications

Parameters:

NameTypeRequiredDescription
payloadpricefx:NotificationListBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListNotificationsEnvelope|error

Sample code:

pricefx:ListNotificationsEnvelope result = check pricefxClient->listNotifications(payload);
markAsRead

Mark as Read

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->markAsRead(payload);
sendValidationMessage

Send a Validation Message

Parameters:

NameTypeRequiredDescription
payloadpricefx:NotificationSendBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->sendValidationMessage(payload);

Internationalization

addNewInternationalizationMessage

Add a New Internationalization Message + payload -

Parameters:

NameTypeRequiredDescription
payloadpricefx:I18nmanagerPutBodyYes
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AddInternationalizationMessageEnvelope|error

Sample code:

pricefx:AddInternationalizationMessageEnvelope result = check pricefxClient->addNewInternationalizationMessage(payload);
deleteInternationalizationMessages

Delete Internationalization Messages

Parameters:

NameTypeRequiredDescription
payloadpricefx:I18nmanagerDeleteKeysBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->deleteInternationalizationMessages(payload);
listInternationalizationMessages

List Internationalization Messages

Parameters:

NameTypeRequiredDescription
payloadpricefx:I18nmanagerFetchWithExtraDataBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListInternationalizationMessagesEnvelope|error

Sample code:

pricefx:ListInternationalizationMessagesEnvelope result = check pricefxClient->listInternationalizationMessages(payload);

Clicmanager

addLineItems

Add Line Items

Parameters:

NameTypeRequiredDescription
typedIdstringYestyped ID of the target CLIC document
payloadpricefx:ClicmanagerAdditemstypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: record

Sample code:

record result = check pricefxClient->addLineItems(typedId, payload);
fetchActivities

Fetch Activities

Parameters:

NameTypeRequiredDescription
payloadpricefx:ActivitylogFetchBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: record

Sample code:

record result = check pricefxClient->fetchActivities(payload);
getClicHeader

Get a Quote/Contract/Rebate Agreement/Compensation Plan Header

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Contract, Quote, or Rebate Agreement you want to return details for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetQuoteContractRebateAgreementResponse|error

Sample code:

pricefx:GetQuoteContractRebateAgreementResponse result = check pricefxClient->getClicHeader(typedId);
importClicLineItems

Import Line Items (w/o Input Types)

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadpricefx:ClicmanagerImportlineitemstypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ClicOperationEnvelope|error

Sample code:

pricefx:ClicOperationEnvelope result = check pricefxClient->importClicLineItems(typedId, payload);
listClicObjects

List CLIC Objects

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Quote/Contract/Rebate Agreement/Compensation Plan you want to retrieve line items for
payloadpricefx:GetCLICrequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ListClicObjectsQueriesYesQueries to be sent with the request

Returns: pricefx:GetCLICresponse|error

Sample code:

pricefx:GetCLICresponse result = check pricefxClient->listClicObjects(typedId, payload, queries);
listUniqueClicItems

List Unique CLIC Items

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListUniqueCLICItemsResponse|error

Sample code:

pricefx:ListUniqueCLICItemsResponse result = check pricefxClient->listUniqueClicItems(typedId, payload);
removeAllClicLineItems

Delete All Line Items

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the object you want to remove all line items from
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ClicOperationEnvelope|error

Sample code:

pricefx:ClicOperationEnvelope result = check pricefxClient->removeAllClicLineItems(typedId, payload);
sendEmail

Send an Email

Parameters:

NameTypeRequiredDescription
payloadpricefx:SendEmailRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->sendEmail(payload);
setClicLostReason

Mark an Offer as Lost (with reason)

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the Quote you want set as lost
payloadpricefx:MarkOfferLostWithReasonRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SetClicLostReasonEnvelope|error

Sample code:

pricefx:SetClicLostReasonEnvelope result = check pricefxClient->setClicLostReason(typedId, payload);
submitClic

Submit a Quote/Contract/Rebate Agreement

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Contract, Quote, or Rebate Agreement you want to submit
payloadpricefx:SubmitQuoteContractRebateAgreementRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SubmitQuoteContractRebateAgreementResponse|error

Sample code:

pricefx:SubmitQuoteContractRebateAgreementResponse result = check pricefxClient->submitClic(typedId, payload);
updateClicLineItems

Update CLIC Line Items

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the CLIC object (e.g., a Quote) you want to update line items for
payloadpricefx:UpdateCLICLineItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpdateClicLineItemsEnvelope|error

Sample code:

pricefx:UpdateClicLineItemsEnvelope result = check pricefxClient->updateClicLineItems(typedId, payload);

Advanced Configuration Options

getAdvancedConfigurationProperty

Get Advanced Configuration Property

Parameters:

NameTypeRequiredDescription
propertynamestringYesName of the configuration property to retrieve
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:AdvancedConfigPropertyEnvelope|error

Sample code:

pricefx:AdvancedConfigPropertyEnvelope result = check pricefxClient->getAdvancedConfigurationProperty(propertyname);

Admin Tools

changeTermsOfUse

changeTermsOfUse

Parameters:

NameTypeRequiredDescription
payloadpricefx:AccountmanagerChangetermsofuseBodyYes
headersmap<string|string[]>No

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->changeTermsOfUse(payload);
pingWithout

Ping (without authentication)

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->pingWithout();

Configuration

getExternalApplicationProperties

Get External Application Properties

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetexternalapppropertiesResponse|error

Sample code:

pricefx:GetexternalapppropertiesResponse result = check pricefxClient->getExternalApplicationProperties();

Visual Configuration

addConfigurationStorage

Add a Configuration Storage

Parameters:

NameTypeRequiredDescription
payloadpricefx:AddJCSBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConfigurationStorageOperationEnvelope|error

Sample code:

pricefx:ConfigurationStorageOperationEnvelope result = check pricefxClient->addConfigurationStorage(payload);
deleteConfigurationStorage

Delete a Configuration Storage

Parameters:

NameTypeRequiredDescription
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConfigurationStorageOperationEnvelope|error

Sample code:

pricefx:ConfigurationStorageOperationEnvelope result = check pricefxClient->deleteConfigurationStorage(payload);
deployConfigurationStorage

Deploy a Configuration Storage

Parameters:

NameTypeRequiredDescription
payloadpricefx:JcsmanagerDeployBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConfigurationStorageOperationEnvelope|error

Sample code:

pricefx:ConfigurationStorageOperationEnvelope result = check pricefxClient->deployConfigurationStorage(payload);
getConfigurationStorage

Get a Configuration Storage

Parameters:

NameTypeRequiredDescription
payloadpricefx:FetchJCSBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetConfigurationStorageEnvelope|error

Sample code:

pricefx:GetConfigurationStorageEnvelope result = check pricefxClient->getConfigurationStorage(payload);
updateConfigurationStorage

Update a Configuration Storage

Parameters:

NameTypeRequiredDescription
payloadpricefx:UpdateJCSBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ConfigurationStorageOperationEnvelope|error

Sample code:

pricefx:ConfigurationStorageOperationEnvelope result = check pricefxClient->updateConfigurationStorage(payload);

Metadata

listAttributeFieldsMetadata

List Attribute Fields' Metadata

Parameters:

NameTypeRequiredDescription
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"YesEnter the type code of the entity you want to retrieve information for. See the list of Type Codes in the Pricefx Knowledge Base article
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ListAttributeFieldsMetadataQueriesYesQueries to be sent with the request

Returns: pricefx:ListAttributeFieldsMetadata|error

Sample code:

pricefx:ListAttributeFieldsMetadata result = check pricefxClient->listAttributeFieldsMetadata(typeCode, queries);
listEntityFields

List Entity Fields

Parameters:

NameTypeRequiredDescription
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"YesEnter the type code of the entity you want to retrieve information for. See the list of Type Codes in the Pricefx Knowledge Base article
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:ListEntityFieldsQueriesYesQueries to be sent with the request

Returns: pricefx:ListEntityFieldsResponse|error

Sample code:

pricefx:ListEntityFieldsResponse result = check pricefxClient->listEntityFields(typeCode, queries);

General

createObject

Create an Object

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
payloadpricefx:CreateObjectRequest_1YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->createObject(typeCode, payload);
deleteColumnValues

Delete Column Values

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
columnNamestringYesThe name of the column/attribute you want to remove values from
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteColumnValuesResponse|error

Sample code:

pricefx:DeleteColumnValuesResponse result = check pricefxClient->deleteColumnValues(typeCode, columnName);
deleteObject

Delete an Object

Parameters:

NameTypeRequiredDescription
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"YesEnter 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
payloadpricefx:DeleteObjectRequest_1YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteObjectResponse_1|error

Sample code:

pricefx:DeleteObjectResponse_1 result = check pricefxClient->deleteObject(typeCode, payload);
deleteObjects

Delete Objects

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
payloadpricefx:DeleteObjectsForceFilterRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:DeleteObjectsResponse|error

Sample code:

pricefx:DeleteObjectsResponse result = check pricefxClient->deleteObjects(typeCode, payload);
getObject

Get an Object

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
idstringYesThe ID of the object you want to retrieve details for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetObjectResponse_1|error

Sample code:

pricefx:GetObjectResponse_1 result = check pricefxClient->getObject(typeCode, id);
getQueryApiMetadata

Get Query API Metadata

Parameters:

NameTypeRequiredDescription
payloadpricefx:QueryapiExecuteBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:QueryApiMetadataEnvelope|error

Sample code:

pricefx:QueryApiMetadataEnvelope result = check pricefxClient->getQueryApiMetadata(payload);
insertBulkData

Insert Bulk Data

Parameters:

NameTypeRequiredDescription
typeCodepricefx:TypeCodeEnumYesSpecify the type code for the entity you want to work with. See the list of Type Codes in the Pricefx Knowledge Base article.'
payloadpricefx:InsertBulkDataRequestYesThe /loaddata/P endpoint (Insert Bulk Products) is used in our example.<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:LoadDataResponse|error

Sample code:

pricefx:LoadDataResponse result = check pricefxClient->insertBulkData(typeCode, payload);
insertBulkDataFromFile

Insert Bulk Data From a File

Parameters:

NameTypeRequiredDescription
typeCode"C"|"CDESC"|"CX"|"JLTV"|"LTV"|"MLTV"|"P"|"PBOME"|"PCOMP"|"PDESC"|"PR"|"PX"|"PXREF"|"SL"|"SX"|"TODO"|"UG"YesEnter 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
payloadpricefx:InsertBulkDataFromFileRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:InsertBulkDataFromFileQueriesYesQueries to be sent with the request

Returns: pricefx:InsertBulkDataFromFileResponse|error

Sample code:

pricefx:InsertBulkDataFromFileResponse result = check pricefxClient->insertBulkDataFromFile(typeCode, payload, queries);
insertBulkDataFromFileAsync

Insert Bulk Data From a File (async)

Parameters:

NameTypeRequiredDescription
typeCode"C"|"CDESC"|"CX"|"JLTV"|"LTV"|"MLTV"|"P"|"PBOME"|"PCOMP"|"PDESC"|"PR"|"PX"|"PXREF"|"SL"|"SX"|"TODO"|"UG"YesEnter 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
payloadpricefx:InsertBulkDataFromFileAsyncRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:InsertBulkDataFromFileAsyncQueriesYesQueries to be sent with the request

Returns: pricefx:InsertBulkDataFromFileAsyncResponse|error

Sample code:

pricefx:InsertBulkDataFromFileAsyncResponse result = check pricefxClient->insertBulkDataFromFileAsync(typeCode, payload, queries);
listObjects

List Objects

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
payloadpricefx:ListObjectsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->listObjects(typeCode, payload);
listTypeCodes

List Type Codes

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:TypeCodesResponse|error?

Sample code:

pricefx:TypeCodesResponse|error? result = check pricefxClient->listTypeCodes();
massUpdate

Mass Update

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
payloadpricefx:MassUpdateRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:MassUpdateResponse|error

Sample code:

pricefx:MassUpdateResponse result = check pricefxClient->massUpdate(typeCode, payload);
queryApiExecute

Query API Execute

Parameters:

NameTypeRequiredDescription
payloadpricefx:QueryapiExecuteBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:QueryApiExecuteQueriesYesQueries to be sent with the request

Returns: pricefx:QueryApiExecuteEnvelope|error

Sample code:

pricefx:QueryApiExecuteEnvelope result = check pricefxClient->queryApiExecute(payload, queries);
updateObject

Update an Object

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
payloadpricefx:UpdateObjectRequestYes<!-- theme: warning -->
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->updateObject(typeCode, payload);
updateObjectReturningOldData

Update an Object (and return old data)

Parameters:

NameTypeRequiredDescription
typeCodestringYesThe object's type code. See the list of Type Codes
payloadpricefx:UpdateObjectReturnOldDataRequestYes<!-- theme: warning -->
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: error?

Sample code:

error? result = check pricefxClient->updateObjectReturningOldData(typeCode, payload);
upsertObject

Upsert an Object

Parameters:

NameTypeRequiredDescription
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"YesEnter 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
payloadpricefx:UpsertObjectRequestYesThe /integrate/P endpoint (Upsert a Product) is used in our example.<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ProductResponse|error

Sample code:

pricefx:ProductResponse result = check pricefxClient->upsertObject(typeCode, payload);
upsertObjectReturningOldData

Upsert an Object (and return old data)

Parameters:

NameTypeRequiredDescription
typeCodepricefx:TypeCodeEnumYesSpecify the type code for the entity you want to work with. See the list of Type Codes in the Pricefx Knowledge Base article.'
payloadpricefx:UpsertObjectReturnOldDataRequestYesThe /integrate/P/returnolddata endpoint (upserts a product) is used in our example.<p>
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:UpsertObjectReturnOldDataResponse|error

Sample code:

pricefx:UpsertObjectReturnOldDataResponse result = check pricefxClient->upsertObjectReturningOldData(typeCode, payload);

Optimization

calculateModelObjectStep

Calculate a Model Object Step

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to recalculate the step for
stepName"definition"|"configuration"|"results"|"projections"|"parallel"YesEnter the name of the step you want to calculate
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:CalculateModelObjectStepQueriesYesQueries to be sent with the request

Returns: pricefx:ModelCalculationStepEnvelope|error

Sample code:

pricefx:ModelCalculationStepEnvelope result = check pricefxClient->calculateModelObjectStep(typedId, stepName, queries);
cancelCalculationStep

Cancel a Calculation Step

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to cancel the calculation step for
stepNamestringYesThe name of the step you want to cancel
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:JobStatusTrackerResponse|error

Sample code:

pricefx:JobStatusTrackerResponse result = check pricefxClient->cancelCalculationStep(typedId, stepName);
duplicateModel

Duplicate a Model

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId to be sent with the request
payloadpricefx:OptimizationModelduplicatetypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ModelDuplicationEnvelope|error

Sample code:

pricefx:ModelDuplicationEnvelope result = check pricefxClient->duplicateModel(typedId, payload);
executeModelLogic

Execute a Model Logic

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to execute the logic for
stepNamestringYesThe name of the step you want to execute the logic for
formulaNamestringYesThe name of the logic you want to execute
payloadpricefx:ExecuteModelLogicRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ExecuteModelLogicResponse|error

Sample code:

pricefx:ExecuteModelLogicResponse result = check pricefxClient->executeModelLogic(typedId, stepName, formulaName, payload);
exportModels

Export Models

Parameters:

NameTypeRequiredDescription
payloadpricefx:OptimizationModelexportBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->exportModels(payload);
getCalculationStatus

Get a Calculation Status

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to retrieve the calculation status for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:JobStatusTrackerResponse|error

Sample code:

pricefx:JobStatusTrackerResponse result = check pricefxClient->getCalculationStatus(typedId);
getParallelCalculationItem

Get a Parallel Calculation Item

Parameters:

NameTypeRequiredDescription
idstringYesid of the Parallel Calculation Item (PCI) you want to retrieve
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GetParallelCalculationItemResponse|error

Sample code:

pricefx:GetParallelCalculationItemResponse result = check pricefxClient->getParallelCalculationItem(id, payload);
getStepCalculationStatus

Get a Step Calculation Status

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to retrieve the calculation status for
stepNamestringYesThe name of the step you want to calculate
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:JobStatusTrackerResponse|error

Sample code:

pricefx:JobStatusTrackerResponse result = check pricefxClient->getStepCalculationStatus(typedId, stepName);
importModels

Import Models

Parameters:

NameTypeRequiredDescription
payloadpricefx:OptimizationModelimportBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ModelDuplicationEnvelope|error

Sample code:

pricefx:ModelDuplicationEnvelope result = check pricefxClient->importModels(payload);
listModelLogicParameters

List Model Logic Parameters

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to retrieve logic parameters for
stepNamestringYesThe name of the step you want to list logic parameters for
formulaNamestringYesThe name of the logic you want to get parameters for
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListModelLogicParametersResponse|error

Sample code:

pricefx:ListModelLogicParametersResponse result = check pricefxClient->listModelLogicParameters(typedId, stepName, formulaName);
listParallelCalculationItems

List Parallel Calculation Items

Parameters:

NameTypeRequiredDescription
payloadpricefx:ListParallelCalculationItemsRequestYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListParallelCalculationItemsResponse|error

Sample code:

pricefx:ListParallelCalculationItemsResponse result = check pricefxClient->listParallelCalculationItems(payload);
loadDataIntoFieldCollection

Load Data Into FieldCollection

Parameters:

NameTypeRequiredDescription
typedIdstringYesSpecifies the typedId (format: &#123;id&#125;.&#123;type&#125;) of the FieldCollection to load data into. Type must be either DMDS or DMT
payloadpricefx:DatamartLoadfctypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: http:Response|error

Sample code:

http:Response result = check pricefxClient->loadDataIntoFieldCollection(typedId, payload);
recalculateCalculationOfStep

Recalculate a Calculation of a Step

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to recalculate the step for
stepName"definition"|"configuration"|"results"|"projections"|"parallel"YesEnter the name of the step you want to calculate
calcNamestringYesThe name of the calculation you want to recalculate
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RecalculateCalculationOfStepResponse|error

Sample code:

pricefx:RecalculateCalculationOfStepResponse result = check pricefxClient->recalculateCalculationOfStep(typedId, stepName, calcName, payload);
recalculateItemsOfParallelCalculation

Recalculate Items of a Parallel Calculation

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to recalculate the step for
stepName"definition"|"configuration"|"results"|"projections"|"parallel"YesEnter the name of the step you want to calculate
calcNamestringYesThe name of the calculation you want to recalculate
payloadpricefx:CalcNameItemBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ParallelCalculationEnvelope|error

Sample code:

pricefx:ParallelCalculationEnvelope result = check pricefxClient->recalculateItemsOfParallelCalculation(typedId, stepName, calcName, payload);
revokeModel

Revoke a Model

Parameters:

NameTypeRequiredDescription
typedIdstringYestypedId of the model you want to revoke
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:RevokeModelResponse|error

Sample code:

pricefx:RevokeModelResponse result = check pricefxClient->revokeModel(typedId, payload);
saveModel

Save a Model

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to save
stepName"definition"|"configuration"|"results"|"projections"YesEnter the name of the step you want to save. Steps are defined in the Model Class that is associated to the Model Object
payloadpricefx:SaveModelRequestYesThe data property can only contain the state field, all the rest fields will be ignored (and cannot be updated even with update/MO endpoint)
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SaveModelResponse|error

Sample code:

pricefx:SaveModelResponse result = check pricefxClient->saveModel(typedId, stepName, payload);
submitModel

Submit a Model

Parameters:

NameTypeRequiredDescription
typedIdstringYesThe typedId of the Model Object you want to submit
payloadrecord {}YesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:SaveModelResponse|error

Sample code:

pricefx:SaveModelResponse result = check pricefxClient->submitModel(typedId, payload);
updateJobStatusTrackerEntry

Update Job Status Tracker Entry

Parameters:

NameTypeRequiredDescription
payloadpricefx:OptimizationUpdatejstBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:JobStatusTrackerUpdateEnvelope|error

Sample code:

pricefx:JobStatusTrackerUpdateEnvelope result = check pricefxClient->updateJobStatusTrackerEntry(payload);

Logs

getLokiLog

Get a Loki Log

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request
queries*pricefx:GetLokiLogQueriesYesQueries to be sent with the request

Returns: pricefx:LokiLogEnvelope|error

Sample code:

pricefx:LokiLogEnvelope result = check pricefxClient->getLokiLog(queries);
listEmailTasks

List Email Tasks

Parameters:

NameTypeRequiredDescription
payloadpricefx:NotificationListBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListEmailTasksEnvelope|error

Sample code:

pricefx:ListEmailTasksEnvelope result = check pricefxClient->listEmailTasks(payload);
listEventTasks

List Event Tasks

Parameters:

NameTypeRequiredDescription
payloadpricefx:NotificationListBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListEventTasksEnvelope|error

Sample code:

pricefx:ListEventTasksEnvelope result = check pricefxClient->listEventTasks(payload);
listLogins

List Logins

Parameters:

NameTypeRequiredDescription
payloadpricefx:BdmanagerListtypedIdBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListLoginsEnvelope|error

Sample code:

pricefx:ListLoginsEnvelope result = check pricefxClient->listLogins(payload);
listSecurityConfigurationEvents

List Security & Configuration Events

Parameters:

NameTypeRequiredDescription
payloadpricefx:NotificationListBodyYesRequest payload
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:ListSecurityConfigEventsEnvelope|error

Sample code:

pricefx:ListSecurityConfigEventsEnvelope result = check pricefxClient->listSecurityConfigurationEvents(payload);

Heartbeat

listTasks

List Tasks

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:GenericDataResponse|error

Sample code:

pricefx:GenericDataResponse result = check pricefxClient->listTasks();

MCP

getMcpRoles

Get MCP Roles

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:McpRolesEnvelope|error

Sample code:

pricefx:McpRolesEnvelope result = check pricefxClient->getMcpRoles();
getMcpTools

Get MCP Tools

Parameters:

NameTypeRequiredDescription
headersmap<string|string[]>NoHeaders to be sent with the request

Returns: pricefx:McpToolsEnvelope|error

Sample code:

pricefx:McpToolsEnvelope result = check pricefxClient->getMcpTools();