Client listener for entity ServiceOrderStateChangeEvent
POST {{baseUrl}}/listener/serviceOrderStateChangeEvent
Example of a client listener for receiving the notification ServiceOrderStateChangeEvent
Request Body
{"event"=>{"serviceOrder"=>{"id"=>"quis ea", "href"=>"occaecat quis conse", "cancellationDate"=>"1941-12-02T22:20:45.587Z", "cancellationReason"=>"officia", "category"=>"in dolore aliquip", "completionDate"=>"1996-11-10T10:42:57.910Z", "description"=>"magna aliquip minim nostrud dese", "expectedCompletionDate"=>"1975-09-29T07:36:11.022Z", "externalId"=>"enim sed non qui", "notificationContact"=>"do magna aute dolor su", "orderDate"=>"1950-01-24T18:09:25.162Z", "priority"=>"occaecat deserunt ut do", "requestedCompletionDate"=>"1968-10-04T10:11:13.138Z", "requestedStartDate"=>"1975-04-30T05:03:26.046Z", "startDate"=>"1996-07-02T23:19:20.947Z", "externalReference"=>[{"name"=>"voluptate labore dolore", "id"=>"deserunt quis sint in ex", "href"=>"http://ELQfvzngKHbyERNkSVWvtEKHkl.lnzjIe9EQ1zRYviiOH62Pbdg8NX-YHVkCS2UvfYKwOJ+OPLsKx0bK0821d2", "externalReferenceType"=>"esse sint occaecat", "@baseType"=>"qui in pariatur non", "@schemaLocation"=>"http://MqDBJSGdFxYVmKtjNdvzbr.kzirNxHSCNlgRSh-sc12MFE5zDkK9To,YuWJDhxci", "@type"=>"in quis nulla laborum"}, {"name"=>"ea nisi sed cupidatat", "id"=>"et ipsum quis proident", "href"=>"http://mSjaQJUIuVFVTybP.gljOmq8wuVpJuCbEGDnHsOrZj33", "externalReferenceType"=>"cupidatat dolore labore Ut", "@baseType"=>"nulla esse", "@schemaLocation"=>"http://CaiFf.mmbC6Ogmo.SnKzZVEpOre85c.U5ZWBg.AxKX2rMELGFDp-sUQyZ,m", "@type"=>"enim ullamco non"}], "note"=>[{"text"=>"ut id do", "id"=>"aute velit Excepteur", "href"=>"http://ymJKNtkZOIeapToWNFVUyXYWX.rzfqQE0cAMfCyLAwIwFDf22GsyrbP,P5jtcJZuieenxp-PtkEhVxIPPPhhOW", "author"=>"occaecat culpa nisi nostrud officia", "date"=>"1958-06-20T15:09:47.559Z", "@baseType"=>"minim sunt", "@schemaLocation"=>"http://xCWYPBFPWRRtUBBxedauF.ucdeeaWy4JUeZhZiiGqBaJP6NWLDIsFhOP7ME-v1Etqatc1", "@type"=>"dolor aliqua voluptate consectetur"}, {"text"=>"elit mollit magna", "id"=>"consectetur voluptate", "href"=>"http://ZSvNHSlvqsJtg.xrpkx2PmNEM5ShCBuLoAzqAEfP78m0zJj", "author"=>"proident", "date"=>"2004-09-08T10:22:15.392Z", "@baseType"=>"elit", "@schemaLocation"=>"http://NENTMABPe.vwniySuIpima7uin0l0jNuVY-IZa-EO8VNwOTQ", "@type"=>"exercitation Duis Ut anim"}], "orderRelationship"=>[{"id"=>"Lorem quis sit irure veniam", "relationshipType"=>"in c", "href"=>"Lorem sunt dolore nostrud", "@baseType"=>"ex qui", "@schemaLocation"=>"http://KljImVouOzc.ihoseBw", "@type"=>"quis in consequat do Lorem", "@referredType"=>"incididunt Excepteur exercitation non"}, {"id"=>"reprehenderit et tempor Lorem laboris", "relationshipType"=>"esse proident aute fugiat", "href"=>"fugiat velit ut Lorem sint", "@baseType"=>"Duis", "@schemaLocation"=>"https://XElgwMyHLCVYmrMHWRjyUoPWjI.edwtK3wcdqENOAp2DtQq1I,-VY", "@type"=>"eu est pariatur esse", "@referredType"=>"velit amet proident adipisicing"}], "relatedParty"=>[{"@referredType"=>"Excepteur magna", "id"=>"sed ut", "@type"=>"nulla anim Excepteur", "href"=>"http://VVojOgsxrYFdatwJpZWSz.kurzVAYriSswz9tNyyMyiUH7JnK+BLOnU3Tyu+l0mTDH93CeNFScaKn", "name"=>"quis enim voluptate", "role"=>"aliqua amet", "@baseType"=>"reprehenderit commodo in labore", "@schemaLocation"=>"http://xIVbFOtVTZtWOzwpdGAsT.cudD-0ua.cVVhfYEEvMyLGJk7jyEWyHj22VJ64FwSA-O3joOSoPj7a.fd-fHyFkmJWGH0"}, {"@referredType"=>"irure dolore aliqua ut", "id"=>"enim cillum pariatur", "@type"=>"ex", "href"=>"https://jdHNUei.pjCZJoBshDLtslM", "name"=>"in sed aliqua", "role"=>"sint ut incididunt ipsum Excepteur", "@baseType"=>"proident laborum occaecat ipsum", "@schemaLocation"=>"http://DinDLBgbfyqdivo.mfumJhLz.AIvg"}], "serviceOrderItem"=>[{"id"=>"mollit eiusmod proident consequat in", "action"=>"modify", "service"=>{"id"=>"enim", "href"=>"laborum magna sed aliquip in", "category"=>"amet dolore nisi", "description"=>"minim ", "endDate"=>"2017-07-30T00:36:14.410Z", "hasStarted"=>true, "isBundle"=>true, "isServiceEnabled"=>true, "isStateful"=>false, "name"=>"esse fugiat", "serviceDate"=>"nisi sed", "serviceType"=>"dolor eiusmod", "startDate"=>"1954-01-30T23:01:05.987Z", "startMode"=>"dolor Ut", "feature"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "note"=>[{"text"=>"ex ut", "id"=>"laborum in eu dolore", "href"=>"http://NkqUxbnspTlCPLBT.sbHM7aMfhWvGxuAE", "author"=>"ex sit minim sunt nos", "date"=>"1950-08-15T18:48:19.449Z", "@baseType"=>"dolor esse ea", "@schemaLocation"=>"https://AoclralhmqRmfIWkpKNVrNgkR.cvveM7COng4n1oSx4mIaH3UBLl.7mMLjzj1ZBmFrcC,JJ9W", "@type"=>"id ipsum cupidatat con"}, {"text"=>"labor", "id"=>"nisi null", "href"=>"https://sMhLjzAcePdEXnzwRGsMQkWzZSmYzTwzr.kjlwLnFcGSD2-C", "author"=>"deserunt consequat cupidatat", "date"=>"1970-12-20T05:01:46.269Z", "@baseType"=>"ex ut", "@schemaLocation"=>"http://peesQKoSHAwGdbTVogExPH.itruTtgm+6z58,hD2KIy4y578G6KrAI9G", "@type"=>"fugiat"}], "place"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "relatedEntity"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "relatedParty"=>[{"@referredType"=>"cillum ut", "id"=>"veniam ut eiusmod", "@type"=>"incididunt", "href"=>"http://DBVxdX.xiY8LFb1Co1rEQeF4xXulu3umPeFgI.ezdlYYzXqk-ktV8", "name"=>"culpa ad", "role"=>"quis dolore et", "@baseType"=>"nostrud eiusmod laboris est sint", "@schemaLocation"=>"http://IFxNzJLVHG.feozOlD6zQ0bqCQ,lLCoS7YL8yhnZt"}, {"@referredType"=>"nisi quis", "id"=>"irure pariatur velit", "@type"=>"laborum", "href"=>"http://ShpmbWeDqRj.udbBFo+Ll93oHne+6MOXCHo", "name"=>"ut sunt", "role"=>"ex voluptate dolore ipsum", "@baseType"=>"consequat laborum cupidatat quis", "@schemaLocation"=>"http://nGdbQurDLKfsuOOL.gpfX91MRPyrKjcLQku+HA4Zj6E"}], "serviceCharacteristic"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "serviceOrderItem"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "serviceRelationship"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "serviceSpecification"=>{"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"=>"inactive", "supportingResource"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "supportingService"=>[{"value"=>"<Circular reference to #/components/schemas/ServiceRefOrValue detected>"}, {"value"=>"<Circular reference to #/components/schemas/ServiceRefOrValue detected>"}], "@baseType"=>"tempor occaecat sunt consectetur in", "@schemaLocation"=>"https://VqvAbwCApcymhcmJW.aadfcyDY3S-vd", "@type"=>"voluptate", "@referredType"=>"ipsum mollit et reprehenderit incidi"}, "quantity"=>9524851, "appointment"=>{"id"=>"consectetur ex veniam reprehenderit exercitation", "href"=>"aliquip mollit nostrud do", "description"=>"sunt", "@baseType"=>"Lorem anim ", "@schemaLocation"=>"https://apaPCtjbHLgxmIguW.ouwswR.EGr3YTLeqHI.ANbD0a9HOQAB3R", "@type"=>"labore ipsum nostrud enim", "@referredType"=>"laboris aute Lore"}, "serviceOrderItem"=>[{"value"=>"<Circular reference to #/components/schemas/ServiceOrderItem detected>"}, {"value"=>"<Circular reference to #/components/schemas/ServiceOrderItem detected>"}], "serviceOrderItemRelationship"=>[{"relationshipType"=>"consequat voluptate nisi in sed", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"eiusmod deserunt p", "@schemaLocation"=>"http://ejHHKLQwnxihXAOJBKUMdpifuv.npaoNZ9pJGwyA5UIn-P", "@type"=>"cu"}, {"relationshipType"=>"ex ea nostrud incididunt", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"fugiat", "@schemaLocation"=>"https://y.arjcycIznHfVJskXIGCI3zxH.JWaotSKxoqPtBqoTCgi", "@type"=>"sunt velit fugiat culpa"}], "state"=>"pending", "@baseType"=>"irure pariatur aute tempor ", "@schemaLocation"=>"https://mXGoJBSOQcCpOdnbBOIpGKwNNOaoPlkq.pwrviSAfMFXTk3ssJNhNmPx,aHwEv5xK7OZABDsw.aoicK1Deb8jlb3FKut6ErjxUCXlBavUqolcZuCPVkne8zBe", "@type"=>"sed qui exercitation dolor"}, {"id"=>"dolor eiusmod", "action"=>"noChange", "service"=>{"id"=>"voluptate in", "href"=>"aliquip dolor", "category"=>"ex anim occaecat eu", "description"=>"nulla sint officia dolor", "endDate"=>"2000-04-16T05:20:42.204Z", "hasStarted"=>false, "isBundle"=>true, "isServiceEnabled"=>true, "isStateful"=>true, "name"=>"anim elit eiusmod", "serviceDate"=>"consequat laborum laboris labore", "serviceType"=>"dolore nulla aliqua mollit", "startDate"=>"1945-06-16T01:53:19.983Z", "startMode"=>"et ex", "feature"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "note"=>[{"text"=>"cillum consectetur aute commodo", "id"=>"elit eiusmod laborum nisi", "href"=>"http://BgstbJ.oyrKriAhNUxEvOzKDQ-G9qk", "author"=>"dolore ex id esse", "date"=>"1980-02-10T10:03:34.432Z", "@baseType"=>"sit laboris", "@schemaLocation"=>"http://ZtrpPxAvoXyllasVLbdC.jkkaBhTks06", "@type"=>"fugiat"}, {"text"=>"aliquip dolore occaecat", "id"=>"amet in", "href"=>"http://tDSpBBzcWcraoLf.kxweNogDBEUaPsPnowzRpavzoaIhfZn+vejTSmshmOvASNtk", "author"=>"nulla ", "date"=>"1995-11-11T12:44:42.705Z", "@baseType"=>"proident mollit sit", "@schemaLocation"=>"https://mgFWRJkNUVUdYVUfNzuFCxe.qjxweIzJ4hRYmELZ4zWQ", "@type"=>"veniam nostrud"}], "place"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "relatedEntity"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "relatedParty"=>[{"@referredType"=>"nostrud ad", "id"=>"commodo", "@type"=>"in", "href"=>"http://zX.rbpinqcFaO7LLLJoHLJ9AqQjRpEfz.why6QClkkuHzWK", "name"=>"esse", "role"=>"sint commodo officia", "@baseType"=>"nostrud amet", "@schemaLocation"=>"http://wilErBOvcXhYkoNxdmau.wlofA0jWwT5oH5F6sQpGTvtGO1DSP8EDl0z81YPoPfipe.cVYT"}, {"@referredType"=>"exercitation non nisi", "id"=>"aliqua esse ex", "@type"=>"ex", "href"=>"https://aoylQltaodM.lluEO69nIoZ.SO", "name"=>"sed minim adipisicing Lorem non", "role"=>"nisi pariatur do aliqua dolore", "@baseType"=>"proident cupidatat", "@schemaLocation"=>"https://uUZrwToBQzOBICGKpgCpXQEEsxb.agkr"}], "serviceCharacteristic"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "serviceOrderItem"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "serviceRelationship"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "serviceSpecification"=>{"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"=>"inactive", "supportingResource"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "supportingService"=>[{"value"=>"<Circular reference to #/components/schemas/ServiceRefOrValue detected>"}, {"value"=>"<Circular reference to #/components/schemas/ServiceRefOrValue detected>"}], "@baseType"=>"sit sunt id deserunt U", "@schemaLocation"=>"https://FJoiHlrDpXeBEpJgPMWygyPDAMykJmWvo.vhmilR0,9F8CgTIorS5cGYO9KHCw", "@type"=>"dolor aute ullamco magna", "@referredType"=>"deserunt est"}, "quantity"=>-72622435, "appointment"=>{"id"=>"nisi", "href"=>"ut in proident", "description"=>"l", "@baseType"=>"elit commodo eiusmod aliquip in", "@schemaLocation"=>"https://CMtuLCuiNBZCHbXdX.wrZhzqINbTx7YMFNpFi6U8hiZxXbGBPId4.x6gVw+1O1+mSwl2Zp0HlKoHt83IFUVt5NqrxNsO0j", "@type"=>"dolor non Excepteur e", "@referredType"=>"elit laborum non consectetur"}, "serviceOrderItem"=>[{"value"=>"<Circular reference to #/components/schemas/ServiceOrderItem detected>"}, {"value"=>"<Circular reference to #/components/schemas/ServiceOrderItem detected>"}], "serviceOrderItemRelationship"=>[{"relationshipType"=>"exercitation non", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"irure magna elit voluptate laborum", "@schemaLocation"=>"https://fAkqTgvgfvKntVdxUvoSqcGagaVn.belbmg-", "@type"=>"Lorem officia esse Ut"}, {"relationshipType"=>"Duis ut dolore", "orderItem"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "@baseType"=>"adipisicing ullamco", "@schemaLocation"=>"https://aspE.rlLXDp", "@type"=>"ut sed nulla dolore"}], "state"=>"partial", "@baseType"=>"Ut dolore", "@schemaLocation"=>"http://GWZJIB.wgjkAMDC,umsnQYjDdFv0aVlFr7kiSuOaBUdc.qeP95SO+", "@type"=>"sint sit pariatur"}], "state"=>"inProgress", "@baseType"=>"fugiat in incididunt amet aute", "@schemaLocation"=>"https://kI.qyqe9DNQXJUVobH6k5,", "@type"=>"commodo"}}, "eventId"=>"consequat officia est ex fugiat", "eventTime"=>"1987-07-12T01:29:45.387Z", "eventType"=>"consectetur dolor", "correlationId"=>"voluptate culpa veniam pariatur aliqua", "domain"=>"consequat dolore ut", "title"=>"dolor non pariatur", "description"=>"Exc", "priority"=>"non laboris proident in", "timeOcurred"=>"1988-06-04T10:41:09.312Z"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"id":"ipsum","callback":"occaecat irure","query":"dolor cillum mollit ipsum consectetur"}