Client listener for entity ResourceOrderStateChangeEvent

POST {{baseUrl}}/listener/resourceOrderStateChangeEvent

Example of a client listener for receiving the notification ResourceOrderStateChangeEvent

Request Body

{"event"=>{"resourceOrder"=>{"id"=>"9ba1047c38ce", "href"=>"http://host/resourceOrder/9ba1047c38ce", "cancellationDate"=>"2021-11-20T10:19:46+0000", "cancellationReason"=>"Cables no longer required by customer", "category"=>"Premium", "completionDate"=>"2021-07-07T10:19:46+0000", "description"=>"7km of 6-fiber, double jacketed Optical Cable for Acme Inc", "expectedCompletionDate"=>"2021-07-07T10:19:46+0000", "externalId"=>"Customer Ref: 577e6b2be5e5", "name"=>"7km of Optical Cable for Acme Inc", "orderDate"=>"2020-11-20T10:19:46+0000", "orderType"=>"incididunt eu proident labore veniam", "priority"=>0, "requestedCompletionDate"=>"2021-07-07T10:19:46+0000", "requestedStartDate"=>"2020-11-20T10:19:46+0000", "startDate"=>"2020-11-20T10:19:46+0000", "externalReference"=>[{"name"=>"consequat ea labore", "id"=>"ut", "href"=>"http://DIYasuHCKWodgMPKcfZaMqgJSP.fpSaWN4Z.,", "externalReferenceType"=>"dolore adipisicing", "@baseType"=>"sint sunt dolor", "@schemaLocation"=>"https://rhxovpuwwXEV.stvim", "@type"=>"et s"}, {"name"=>"cons", "id"=>"proident culpa occaecat dolor", "href"=>"https://otZVCSDTsTT.kvQkZoBqgAoLwSM", "externalReferenceType"=>"ullamco", "@baseType"=>"fugiat est", "@schemaLocation"=>"http://hdtupDZUoYyTypEgAgJQhDEG.cnxoxbJtofQV7MnNTVjof79jd0HuMekSFc+TliFjRiHECG.5aur+W1HrDnGWpgTMZMD0qydDOBe", "@type"=>"irure"}], "note"=>[{"text"=>"Ut Lorem", "id"=>"sit", "href"=>"http://wyfOVHIQyMqbnZOhIgwYCSMqZIQBwbfy.czxTbzbEdZPCyDEqoAAHe1JfQcxi13RAd", "author"=>"dolore de", "date"=>"1954-03-04T19:06:53.754Z", "@baseType"=>"pariatur proident sint non", "@schemaLocation"=>"http://AKDgpelBHJphL.sbiPR+472sPJ", "@type"=>"nostrud dolor"}, {"text"=>"aute eiusmod qui nostrud", "id"=>"consequat amet nisi ad", "href"=>"https://anPxnYrkzQoGwRZTgoPGvoidCIpRBKFK.szRU+frtn3h7Mg.v2A9f9ZEN5zbK", "author"=>"pariatur ipsum nostrud deserunt", "date"=>"1984-02-25T09:25:03.151Z", "@baseType"=>"aute", "@schemaLocation"=>"http://ozxNeDbFqvyUflqqoYtBBugyrVcgnl.sxW5gryG9MvfqSyV0IDrhLUE.zSgEXbFp", "@type"=>"laborum culpa labore dolor"}], "orderItem"=>[{"id"=>"01", "href"=>"https://lLtttVFbroukoqsLJiaKSheW.yrN159rmNg+Wosh4A.U4vI5.ZU17dgLfi12,nPXxiGF1b9J4UutQiMKpLzfvAfelzC8h1F", "quantity"=>7000, "action"=>"add", "appointment"=>{"id"=>"nostrud la", "href"=>"ea aliqua exercitation laborum", "description"=>"laborum", "@baseType"=>"Lorem incididunt culpa", "@schemaLocation"=>"http://IzZeNgzQTsCwqctmqo.imlDhnKHaPvCjOq-is2LP5SLxhz.tQLohaZL6UQXxGZ0bU67Jdj0z", "@type"=>"deserunt ipsum", "@referredType"=>"qui in consequat tempor"}, "orderItemRelationship"=>[{"id"=>"est", "href"=>"https://LpLiHPKyBlqkArNXppNbmvSJHqDpCuViD.gxmf3CLGq7T3xJifu+-EIBNC7avemTX++6wpbloFObdrqmj-i6DHHGGiuZ3i,dX7", "relationshipType"=>"dependency", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"sint eu irure esse labore", "@schemaLocation"=>"http://akoxnhXODwqvCUUOPipyRFjAJ.lsvfChhkWiM3jLM3Bkxqi.,eo9DMuuW7RxP4wiHTm3fLUh", "@type"=>"aliqua cillum sint"}, {"id"=>"deserunt quis", "href"=>"http://cVjNirWnLZiXggLvnRIQw.tuwP6vvnFzmT-o8zl1h++I.k6TuGM3ZDdIVNo,fvottaoaOm", "relationshipType"=>"dependency", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"minim aliqua Ut", "@schemaLocation"=>"https://rWoKtnazykXqATqgJVPnjZFsax.wdtt5eE5fBOIM+xD5b1buOCnn", "@type"=>"qui"}], "resource"=>{"id"=>"cillum labore ad occaecat", "href"=>"Ut", "category"=>"pariatur", "description"=>"esse officia occaecat", "endOperatingDate"=>"2002-04-13T23:41:38.816Z", "name"=>"nulla consequat", "resourceVersion"=>"magna", "startOperatingDate"=>"2007-03-06T11:03:38.096Z", "activationFeature"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "administrativeState"=>"locked", "attachment"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "note"=>[{"text"=>"dolor ea tempor Ut", "id"=>"fugiat anim", "href"=>"http://ztFzSumPTmyVeMAkyjeeaYcHglxsEg.iumpO,nDlFu7cHidllVhjJ7g1BEzDp5V1QPq8RK+IQcfly.nd", "author"=>"pariatur aliqua anim occaecat Excepteur", "date"=>"1961-03-17T04:03:36.252Z", "@baseType"=>"voluptate nulla amet", "@schemaLocation"=>"http://xr.zwezPpVDZU1cZca4MA.AeKnV8", "@type"=>"eu do nisi nulla"}, {"text"=>"sed anim ut qui", "id"=>"sit elit ex laboris sunt", "href"=>"https://WoDUcjUlB.pckx4QCbRhP7n-a2E-tKkhpn0Mw", "author"=>"tem", "date"=>"1998-04-09T08:48:53.595Z", "@baseType"=>"elit", "@schemaLocation"=>"https://IMFJoJWVXkH.laciOBU9aUS-6Pf91k,dEn-yv", "@type"=>"occaecat officia"}], "operationalState"=>"disable", "place"=>{"role"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@schemaLocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@referredType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "relatedParty"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "resourceCharacteristic"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "resourceRelationship"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "resourceSpecification"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "version"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@schemaLocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@referredType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "resourceStatus"=>"available", "usageState"=>"idle", "@baseType"=>"sit adipisicing elit", "@schemaLocation"=>"http://DmtqLPLgsnSX.vtSBhL9lgGYF+WAvmpP-PGXYItfqPMV.gOQhFi2DmKeIsImFR6mqQxir8j", "@type"=>"sed", "@referredType"=>"dolore magna"}, "resourceSpecification"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "version"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@schemaLocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@referredType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "state"=>"pendingCancellation", "@baseType"=>"quis tempor occaecat", "@schemaLocation"=>"https://zwNrJPnFIOuNRMAhAvKC.wqtQxUceJJypxmypCOub+32Wc4FZeR,ttaPODmlwLhzQQV3StNUOKQT9tmK0IC4IglWYv", "@type"=>"laboris deserunt et"}, {"id"=>"01", "href"=>"http://HAmZwaTVEArIhoPTrPwttSxWRxC.ustluHxXFaWoBZ-iUq47wzXlZvImS-bFfgxODT", "quantity"=>7000, "action"=>"modify", "appointment"=>{"id"=>"sit sunt officia anim", "href"=>"minim laborum", "description"=>"incididunt", "@baseType"=>"sed esse", "@schemaLocation"=>"https://xjSYyaGDnSxxHUjtdFxcdwKpCwfntwZS.ygoJAV,suyGVSwKe-uWGp5cHgjUlw7fJifE.COhuCRnYCC3tLZNF", "@type"=>"consequat ex", "@referredType"=>"voluptate Excepteur aliquip nostru"}, "orderItemRelationship"=>[{"id"=>"qui minim consectetur aute", "href"=>"https://lBIntpuIbyjufCjnunfvyTdFfrHoNNg.baxeyDjTYlfYFH", "relationshipType"=>"dependency", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"magna ex amet do officia", "@schemaLocation"=>"http://cVsUKhhDnfw.uciwyTwFgQsG-Z9kRFb8oxaA8ezAde4", "@type"=>"esse"}, {"id"=>"fugiat", "href"=>"http://qFqHXBNf.jcnKRa", "relationshipType"=>"dependency", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"incididunt ex sit", "@schemaLocation"=>"http://KAvbHZprtYSQHmdNeey.knaep", "@type"=>"amet commodo"}], "resource"=>{"id"=>"nostrud labore", "href"=>"consequat Lorem amet", "category"=>"anim nisi id", "description"=>"exercitation reprehenderit enim", "endOperatingDate"=>"1990-01-08T04:43:36.076Z", "name"=>"tempor nostrud est qui consequat", "resourceVersion"=>"nulla velit non amet", "startOperatingDate"=>"1966-06-07T09:36:08.527Z", "activationFeature"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "administrativeState"=>"unlocked", "attachment"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "note"=>[{"text"=>"Duis ipsum minim", "id"=>"labore consequat id", "href"=>"https://SbixGoIPzqmoynUXK.agfhc", "author"=>"consectetur magna", "date"=>"2017-08-06T07:57:22.996Z", "@baseType"=>"est aute laborum eiusmod", "@schemaLocation"=>"https://fDm.bcF.kdyV-3zLJxNTyPzWYV5F", "@type"=>"eiusmod eu"}, {"text"=>"si", "id"=>"in ullamco sit veniam", "href"=>"http://XBBYseCCjiNhnRTKyWKSrQtClRazWDX.iidzFF4g0AQmGacZryLcp9qLYVzG", "author"=>"pariatur sint ea culpa", "date"=>"1995-01-07T21:10:38.582Z", "@baseType"=>"ut in dolor", "@schemaLocation"=>"http://KXodRKluqdEJSdIHsIbawrY.wfxZw", "@type"=>"Excepteur voluptate tempor"}], "operationalState"=>"enable", "place"=>{"role"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@schemaLocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@referredType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "relatedParty"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "resourceCharacteristic"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "resourceRelationship"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "resourceSpecification"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "version"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@schemaLocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@referredType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "resourceStatus"=>"alarm", "usageState"=>"busy", "@baseType"=>"eu in Excepteur", "@schemaLocation"=>"https://zJUHyXs.pwlfMfTIAkvQDX,hEQwyNrr6,yxqey", "@type"=>"proident velit voluptate", "@referredType"=>"labore voluptate"}, "resourceSpecification"=>{"id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "version"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@schemaLocation"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@referredType"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "state"=>"held", "@baseType"=>"laboris eu", "@schemaLocation"=>"https://PMgdULKCokLShBxQBZjhBsvv.vbk3lRZLzUe56pVGy6", "@type"=>"in dolore enim sed voluptate"}], "relatedParty"=>[{"@referredType"=>"commodo enim irure", "id"=>"Ut dolor ut exercitation in", "href"=>"http://VLBqkEwvncvaHGhQEesDL.uxacYSl9G+6O1eLRxLhqsQnOKP1xjnkqbUhprWcsUJ4P0S", "name"=>"exercitation consequat tempor", "role"=>"Lorem", "@baseType"=>"incididunt dolore", "@schemaLocation"=>"https://jN.andYjwLrAf+755uiTV9", "@type"=>"est officia fugiat"}, {"@referredType"=>"in veniam dolore", "id"=>"enim dolore", "href"=>"http://eTvivRiYMhvMoKFArCXpmWMLDwdlS.exlsO7,z5FPaa1trfuvzXt34udA-U-t3TGBNpmGA9gmY7", "name"=>"laborum labore ut magna", "role"=>"enim", "@baseType"=>"nostrud dol", "@schemaLocation"=>"https://YbdclUVOtk.qlnsLisCFsFqss.M7XXEv0TPuJxN", "@type"=>"reprehenderit laboris non"}], "state"=>"acknowledged", "@baseType"=>"deserunt in", "@schemaLocation"=>"https://zYLjNYyMawTJhNRapWboYjsUQbGS.raqIuuMm6MZ3GePZCNDQPSFbqCm1o9N5PpILU-fAeBnMSOO", "@type"=>"consequat deserunt enim"}}, "eventId"=>"commodo sed nisi id", "eventTime"=>"1964-10-16T21:13:44.682Z", "eventType"=>"incididunt", "correlationId"=>"ut quis", "domain"=>"aute", "title"=>"in", "description"=>"et", "priority"=>"in sunt mollit in", "timeOcurred"=>"2007-12-21T03:00:51.398Z"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;id&quot;:&quot;adipisicing id irure non nulla&quot;,&quot;callback&quot;:&quot;officia pariatur nulla culpa&quot;,&quot;query&quot;:&quot;aliquip dolor non&quot;}