TMFTMForumCreateProductOrder

This IP is used to invoke the TMF API to create a product order.

Input JSON

{
    "@type": "ProductOrder",
    "category": "B2C product order",
    "channel": [
        {
            "id": "1",
            "name": "Online chanel",
            "role": "Used channel for order capture"
        }
    ],
    "description": "Product Order illustration sample",
    "externalId": "PO-456",
    "note": [
        {
            "author": "Jean Pontus",
            "date": "2019-04-30T08:13:59.509Z",
            "id": "1",
            "text": "This is a TMF product order illustration"
        }
    ],
    "priority": "1",
    "productOrderItem": [
        {
            "@type": "ProductOrderItem",
            "action": "add",
            "id": "205ccd31-5934-766e-848f-0bff644e6338",
            "quantity": 1
        }
    ],
    "relatedParty": [
        {
            "@referredType": "account",
            "@type": "RelatedParty",
            "href": "https://host:port/partyManagement/v4/individual/456-dd-df45",
            "id": "CD451791",
            "name": "Test Sh1",
            "role": ""
        }
    ],
    "requestedCompletionDate": "2019-05-02T08:13:59.506Z",
    "requestedStartDate": "2019-05-03T08:13:59.506Z"
}

Output JSON

{
  "productOrderItem": [
    {
      "product": {
        "productCharacteristics": [
          {
            "valueType": "Picklist",
            "name": "VEPC_ATTR_CPE_DELIVERY_OPTION"
          },
          {
            "valueType": "Picklist",
            "name": "VEPC_ATTR_CPE_ROLE"
          },
          {
            "valueType": "Text",
            "name": "VEPC_ATTR_CONTACT_FIRST_NAME"
          },
          {
            "valueType": "Text",
            "name": "VEPC_ATTR_CONTACT_FIRST_NAME"
          }
        ]
      },
      "quantity": 1,
      "id": "205ccd31-5934-766e-848f-0bff644e6338",
      "action": "Add",
      "@type": "ProductOrderItem"
    }
  ],
  "relatedParty": [
    {
      "name": "Test Sh1",
      "id": "CD451791",
      "href": "/services/apexrest/%vlocity_namespace%/tmforum/productopenapi/v1/Account/0014x00000KlmAgAAJ",
      "@type": "RelatedParty"
    }
  ],
  "orderDate": "2023-05-04T05:19:17.000+0000",
  "state": "Activated",
  "requestedStartDate": "2019-05-03T00:00:00.000+0000",
  "requestedCompletionDate": "2019-05-02T00:00:00.000+0000",
  "note": "id:1;date:2019-04-30T08:13:59.509Z;text:This is a TMF product order illustration",
  "id": "00005503",
  "href": "/services/apexrest/%vlocity_namespace%/tmforum/productopenapi/v1/Order/8014x000000oJNOAA2",
  "externalId": "PO-456",
  "description": "Product Order illustration sample",
  "channel": "Online chanel"
}

Usage

This IP calls the TMFOpenAPIProductOrderService.postProductOrder Apex method and the following Data Raptors: