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":"eyJyZXBsZV9pZCI6IjEzOTIiLCJwb19udW0iOiIxMzkyIiwic3RhdHVzIjoicmVhZHkgZm9yIHlvdXIgcmV2aWV3IiwidHJhY2tpbmdfbnVtIjpudWxsLCJzdXBwbGllcl9uYW1lIjoiRWF6eWJyYW5jaCIsImNvbW1lbnRzIjpudWxsLCJib2UiOm51bGwsImJsX251bSI6bnVsbCwiY29udGFpbmVyX251bSI6bnVsbCwiZXhwZWN0ZWRfZGVsaXZlcnlfZGF0ZSI6IjIwMjMtMDMtMDYiLCJwcmVfc3luYyI6Ik9mZiIsIml0ZW1zIjpbeyJza3UiOiJDTUJMQ0gwMiIsImRlc2NyaXB0aW9uIjoiSmlrIChCbGVhY2gpIC0gNzUwbWwiLCJxdHlfcmVxdWVzdCI6MjAsInF0eV9yZWNlaXZlZCI6MjAsImJpbiI6IlpTMDEtMDJBMDEoMjApICIsImxwbiI6bnVsbCwibG90IjpudWxsLCJleHBpciI6bnVsbCwidW9tIjoiIn0seyJza3UiOiJDTUFNTU4wMSIsImRlc2NyaXB0aW9uIjoiQW1tb25pYXRlZCBDcmVhbSBDbGVhbmVyIC0gNUwiLCJxdHlfcmVxdWVzdCI6MjAsInF0eV9yZWNlaXZlZCI6MjAsImJpbiI6IlpTMDEtMDJBMDAoMjApICIsImxwbiI6bnVsbCwibG90IjpudWxsLCJleHBpciI6bnVsbCwidW9tIjoiIn0seyJza3UiOiJDTFBHRU0wNCIsImRlc2NyaXB0aW9uIjoiR2VtIENsaXAgMzNtbSBTSUxWRVIgLSBCb3ggMTAwICIsInF0eV9yZXF1ZXN0IjoyMCwicXR5X3JlY2VpdmVkIjoyMCwiYmluIjoiWlMwMS0wMUEwKDIwKSAiLCJscG4iOm51bGwsImxvdCI6bnVsbCwiZXhwaXIiOm51bGwsInVvbSI6IiJ9XX0=","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":{}}");