Create Training Partition API

API: https://platform.pricefx.com/api/jobs/create-and-set-partition

QA Swagger documentation: https://qa.platform.pricefx.com/swagger-ui/index.html#/start-job-controller/startCreateAndSetPartitionWorkflow

In the request, only the acceleratorVersion field is not mandatory. If the field is not used, the latest published version is used.

 

The API starts a workflow that will perform these steps (in listed order):

  1. CREATE_PARTITION
    The step creates a partition with a value of the customerEmail used as an admin email.

  2. DEPLOY_ACCELERATOR
    The step deploys all accelerators listed in the request in the order they appear in the request. No accelerator can contain any UI step; otherwise the deployment will be stopped until the data for the UI step are provided and the process will probably time out.

  3. REGISTER_PARTITION
    The step calls the https://api.pricefx.com/openapi/reference/pricefx/operation/post-formulamanager.executeformula-uniqueName/ API with a request in this format:

    { "data": { "newPartitionSerialNumber": "serial number of the created partition", "newPartitionLabel": "label of the created partition", "customerEmail": "value of this field in the original request", "username": "user name of the user created on the new partition", "password": "password of the user created on the new partition", "accelerators": [ "acceleratorName": "name of the accelerator deployed on the partition", "acceleratorVersion": "version of the accelerator deployed on the partition" ] } }

     

  4. SEND_EMAIL_WITH_ACCESS
    The step notifies the customer and the admins about the new partition via email.
    If the process fails, the admins are notified about it via email.

PlatformManager version 1.75.0