{
  "$schema" : "https://bitbucket.org/fit-api/fit-api/raw/tmf622_v2.0.3/tmf622/ctk/json-schema/fit-tmf622.schema.json",
  "@type" : "ProductOrderStateChangeEvent",
  "eventId" : "0e5cce9d-5723-4b7d-8343-9a359eed1419",
  "eventTime" : "2022-05-11T10:31:00+02:00",
  "eventType" : "ProductOrderStateChangeEvent",
  "event" : {
    "productOrder" : {
      "@type" : "ProductOrder",
      "id" : "105c3d32-f2b1-4f73-94a5-dd536afd2cc7",
      "href" : "https://api.example.org/tmf-api/productOrderingManagement/v5/productOrder/105c3d32-f2b1-4f73-94a5-dd536afd2cc7",
      "category" : "terminationByBuyer",
      "creationDate" : "2022-05-11T10:30:30+02:00",
      "orderPostedDate" : "2022-05-11T10:30:00+02:00",
      "requestedCompletionDate" : "2022-12-01T12:00:00+01:00",
      "agreement" : [ {
        "@type" : "Agreement",
        "name" : "buyerServiceContract",
        "engagedParty" : [ {
          "@type" : "Organization",
          "businessId" : "500011"
        } ],
        "businessId" : "500012",
        "agreementType" : "buyerServiceContract"
      } ],
      "externalId" : [ {
        "@type" : "ExternalIdentifier",
        "id" : "1000111",
        "externalIdentifierType" : "externalOrderId"
      } ],
      "productOrderItem" : [ {
        "@type" : "ProductOrderItem",
        "id" : "1",
        "action" : "delete",
        "product" : {
          "@type" : "ProductRef",
          "id" : "388a4963-f168-4603-99e8-477200099d91",
          "href" : "https://api.example.org/tmf-api/productInventoryManagement/v5/product/388a4963-f168-4603-99e8-477200099d91",
          "@referredType" : "BitstreamAccessProduct"
        }
      } ],
      "relatedParty" : [ {
        "@type" : "RelatedPartyOrPartyRole",
        "role" : "orderManagementBuyerContact",
        "partyOrPartyRole" : {
          "@type" : "Individual",
          "contactMedium" : [ {
            "@type" : "PhoneContactMedium",
            "contactType" : "fixed",
            "phoneNumber" : "+49221456789"
          }, {
            "@type" : "PhoneContactMedium",
            "contactType" : "mobile",
            "phoneNumber" : "+4917754545454"
          }, {
            "@type" : "EmailContactMedium",
            "contactType" : "email",
            "emailAddress" : "j.kirk@example.net"
          } ],
          "familyName" : "Kirk",
          "salutation" : "Herr",
          "givenName" : "James T.",
          "title" : "Captain"
        }
      } ],
      "state" : "rejected",
      "stateChangeDate" : "2022-05-11T10:31:00+02:00",
      "stateChangeMessage" : [ {
        "code" : "1013",
        "text" : "Externe Auftragsnummer ist nicht eindeutig oder nicht korrekt."
      } ],
      "stateChangeHistory" : [ {
        "@type" : "StateChange",
        "stateChangeDate" : "2022-05-11T10:30:00+02:00",
        "state" : "acknowledged"
      } ]
    }
  }
}