Submit ProductModel

Method: HTTP POST method

Endpoint: http://<host_address>:<port_address>/v1/productmodel

Parameter content type: application/json

Input ProductModel is mandatory for this operation.

Example of ProductModel:

{
  "ProductModel": {
    "ItemSpecs": {
      "affinityGroup": {
        "planFragments": {
          "planFragmentID": "string",
          "planFragmentUniqueId_CANCEL": {
            "description": "string",
            "name": "string"
          },
          "planFragmentUniqueId_CEASE": {
            "description": "string",
            "name": "string"
          },
          "planFragmentUniqueId_PROVIDE": {
            "description": "string",
            "name": "string"
          },
          "planFragmentUniqueId_UPDATE": {
            "description": "string",
            "name": "string"
          },
          "planFragmentName": "string",
          "planFragmentVersion": "string",
          "owner": "string",
          "record_Type": "string",
          "errorHandler": "string",
          "retry": {
            "retryCount": "0",
            "retryDelay": "0",
            "retryFailed": "true",
            "retryOverride": "true"
          },
          "section": {
            "endMilestoneID": "string",
            "maximumDuration": "0",
            "startMilestoneID": "string",
            "typicalDuration": "0"
          }
        },
        "type": "string"
      },
      "Characteristic": {
        "actionID": "string",
        "conditional": "string",
        "description": "string",
        "evaluationPriority": "string",
        "instanceCeaseSequence": "string",
        "instanceMax": "0",
        "instanceMin": "0",
        "instanceOptional": "string",
        "instanceSequence": "string",
        "instanceUpdateSequence": "string",
        "name": "string",
        "simpleRule": {
          "externalRuleset": "string",
          "name": "string",
          "ruleSetOutcome": "string"
        },
        "Values": {
          "discreteValue": "string",
          "mandatoryValue": "string",
          "rangeValue": "string",
          "type": "string"
        }
      },
      "DependentOnProduct": {
        "Product": {
          "description": "string",
          "lastModifiedOn": "2019-06-19T10:43:30.241Z",
          "owner": "string",
          "productId": "string"
        }
      },
      "endDate": "2019-06-19T10:43:30.241Z",
      "MustComplete": "true",
      "planFragments": {
        "planFragmentID": "string",
        "planFragmentUniqueId_CANCEL": {
          "description": "string",
          "name": "string"
        },
        "planFragmentUniqueId_CEASE": {
          "description": "string",
          "name": "string"
        },
        "planFragmentUniqueId_PROVIDE": {
          "description": "string",
          "name": "string"
        },
        "planFragmentUniqueId_UPDATE": {
          "description": "string",
          "name": "string"
        },
        "planFragmentName": "string",
        "planFragmentVersion": "string",
        "owner": "string",
        "record_Type": "string",
        "errorHandler": "string",
        "retry": {
          "retryCount": "0",
          "retryDelay": "0",
          "retryFailed": "true",
          "retryOverride": "true"
        },
        "section": {
          "endMilestoneID": "string",
          "maximumDuration": "0",
          "startMilestoneID": "string",
          "typicalDuration": "0"
        }
      },
      "Product": {
        "description": "string",
        "lastModifiedOn": "2019-06-19T10:43:30.242Z",
        "owner": "string",
        "productId": "string"
      },
      "SingleUse": "true",
      "startDate": "2019-06-19T10:43:30.242Z"
    },
    "Product": [
      {
        "description": "string",
        "lastModifiedOn": "2019-06-19T10:43:30.242Z",
        "owner": "string",
        "productId": "string"
      },
      {
        "description": "string",
        "lastModifiedOn": "2019-06-19T10:43:30.242Z",
        "owner": "string",
        "productId": "string"
      }
    ],
    "affinityActionGroup": "true",
    "affinityActionValue": "string",
    "affinityCondition": "string",
    "affinityCorrelation": "string",
    "affinityParentGroup": "true",
    "affinityPlanFragments": {
      "planFragmentID": "string",
      "planFragmentUniqueId_CANCEL": {
        "description": "string",
        "name": "string"
      },
      "planFragmentUniqueId_CEASE": {
        "description": "string",
        "name": "string"
      },
      "planFragmentUniqueId_PROVIDE": {
        "description": "string",
        "name": "string"
      },
      "planFragmentUniqueId_UPDATE": {
        "description": "string",
        "name": "string"
      },
      "planFragmentName": "string",
      "planFragmentVersion": "string",
      "owner": "string",
      "record_Type": "string",
      "errorHandler": "string",
      "retry": {
        "retryCount": "0",
        "retryDelay": "0",
        "retryFailed": "true",
        "retryOverride": "true"
      },
      "section": {
        "endMilestoneID": "string",
        "maximumDuration": "0",
        "startMilestoneID": "string",
        "typicalDuration": "0"
      }
    },
    "affinityType": "string",
    "Characteristic": {
      "actionID": "string",
      "conditional": "string",
      "description": "string",
      "evaluationPriority": "string",
      "instanceCeaseSequence": "string",
      "instanceMax": "0",
      "instanceMin": "0",
      "instanceOptional": "string",
      "instanceSequence": "string",
      "instanceUpdateSequence": "string",
      "name": "string",
      "simpleRule": {
        "externalRuleset": "string",
        "name": "string",
        "ruleSetOutcome": "string"
      },
      "Values": {
        "discreteValue": "string",
        "mandatoryValue": "string",
        "rangeValue": "string",
        "type": "string"
      }
    },
    "endDate": "2019-06-19T10:43:30.242Z",
    "plan": {
      "action": "string",
      "actionMode": "string",
      "affinity": "true",
      "affinityActionGroup": "true",
      "affinityActionValue": "string",
      "affinityCondition": "string",
      "affinityCorrelation": "string",
      "affinityParentGroup": "true",
      "affinityType": "string",
      "description": "string",
      "milestone": {
        "dependency": {
          "condition": "string",
          "milestoneName": "string",
          "planName": "string",
          "type": "string"
        },
        "name": "string"
      },
      "name": "string"
    },
    "planFragments": {
      "planFragmentID": "string",
      "planFragmentUniqueId_CANCEL": {
        "description": "string",
        "name": "string"
      },
      "planFragmentUniqueId_CEASE": {
        "description": "string",
        "name": "string"
      },
      "planFragmentUniqueId_PROVIDE": {
        "description": "string",
        "name": "string"
      },
      "planFragmentUniqueId_UPDATE": {
        "description": "string",
        "name": "string"
      },
      "planFragmentName": "string",
      "planFragmentVersion": "string",
      "owner": "string",
      "record_Type": "string",
      "errorHandler": "string",
      "retry": {
        "retryCount": "0",
        "retryDelay": "0",
        "retryFailed": "true",
        "retryOverride": "true"
      },
      "section": {
        "endMilestoneID": "string",
        "maximumDuration": "0",
        "startMilestoneID": "string",
        "typicalDuration": "0"
      }
    },
    "startDate": "2019-06-19T10:43:30.242Z"
  }
}