using Api.Code;
var hangfireBackgroundCommandHandler = Activate<HangfireBackgroundCommandHandler>();
await hangfireBackgroundCommandHandler.DispatchOnQueue(
"CreateDocumentCommand",
"Utopia.Contracts.Documents.CreateDocumentCommand, Utopia.Contracts, Version=0.12.1622.0, Culture=neutral, PublicKeyToken=null",
"{"Id":null,"KeyPaths":["reple_id"],"KeyPathsAllowReplace":true,"IgnoreDuplicates":true,"AllowTransaction":true,"BatchPath":"","Owner":"036b50c5-8542-4653-b2d0-b611e227bf25","Collection":"7450d858-c132-466b-be65-16a10d69e20a","Name":null,"Document":"eyJyZXBsZV9pZCI6IjIzMiIsInBvX251bSI6IlRlc3RpbmdTcHVydCIsInN0YXR1cyI6IiIsInRyYWNraW5nX251bSI6IlRlc3RpbmdTcHVydCIsInN1cHBsaWVyX25hbWUiOiJUZXN0aW5nU3B1cnQiLCJjb21tZW50cyI6bnVsbCwiYm9lIjpudWxsLCJibF9udW0iOm51bGwsImNvbnRhaW5lcl9udW0iOm51bGwsImV4cGVjdGVkX2RlbGl2ZXJ5X2RhdGUiOiIyMDIxLTA2LTA0IiwicHJlX3N5bmMiOiJPZmYiLCJpdGVtcyI6W3sic2t1IjoiU3dpbTAxIiwiZGVzY3JpcHRpb24iOiJUb29ncyBGYXN0YmFjayBTd2ltc3VpdCBpbiBOYXZ5IGFuZCBHcmV5IEZ1bmt5IFplYnJhIiwicXR5X3JlcXVlc3QiOjEsInF0eV9yZWNlaXZlZCI6MSwiYmluIjoiQTAxLTAxQTEwKDEpICIsImxwbiI6bnVsbCwibG90IjpudWxsLCJleHBpciI6bnVsbCwidW9tIjoiIn0seyJza3UiOiJNYXNrMDEiLCJkZXNjcmlwdGlvbiI6IlN3aW0tRHJ5IEtpZHMgUHJvdGVjdGl2ZSBGYWNlIE1hc2tzIGluIEJsYWNrIHdpdGggRmxvd2VycyB3aXRoIENoYW5nZSB0aGUgV29ybGQgU2xvZ2FuIiwicXR5X3JlcXVlc3QiOjEsInF0eV9yZWNlaXZlZCI6MSwiYmluIjoiQTAxLTAxQTExKDEpICIsImxwbiI6bnVsbCwibG90IjpudWxsLCJleHBpciI6bnVsbCwidW9tIjoiIn0seyJza3UiOiJHb2dnbDAxIiwiZGVzY3JpcHRpb24iOiJTcHVydCBFbGl0ZSBSYWNlciBXVk4gU2VuaW9yIFN3aW1taW5nIEdvZ2dsZSBpbiBCbGFjayBhbmQgV2hpdGUgd2l0aCBPaWwtc2xpY2sgUHVycGxlIGFuZCBHb2xkIE1pcnJvciBMZW5zIGFuZCBEYXJrIFRpbnQiLCJxdHlfcmVxdWVzdCI6MSwicXR5X3JlY2VpdmVkIjoxLCJiaW4iOiJBMDEtMDFBMTIoMSkgIiwibHBuIjpudWxsLCJsb3QiOm51bGwsImV4cGlyIjpudWxsLCJ1b20iOiIifV19","ContentType":"application/json","ExpireDocumentStrategy":null,"ExpireDocumentAfter":null,"Source":{"CorrelationId":"a3db4b91-e4a1-42d5-99a1-9fd776821a40","Type":"Connector","Group":"Bulk","Id":"209f63b2-f27e-4a77-b5c6-61beef935f94","Detail":null,"Source":null},"Headers":{}}");