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":"eyJyZXBsZV9pZCI6IjE2MiIsInBvX251bSI6IlJvYlRlc3RCdWxsayIsInN0YXR1cyI6InJlYWR5IGZvciB5b3VyIHJldmlldyIsInRyYWNraW5nX251bSI6IlJvYlRlc3RCdWxsayIsInN1cHBsaWVyX25hbWUiOiJSb2JUZXN0QnVsbGsiLCJjb21tZW50cyI6IlJvYlRlc3RCdWxsayIsImJvZSI6bnVsbCwiYmxfbnVtIjpudWxsLCJjb250YWluZXJfbnVtIjpudWxsLCJleHBlY3RlZF9kZWxpdmVyeV9kYXRlIjoiLTAwMDEtMTEtMzAiLCJwcmVfc3luYyI6Ik9mZiIsIml0ZW1zIjpbeyJza3UiOiI3MDIzNzc4MDYwOTAxIiwiZGVzY3JpcHRpb24iOiJXaGl0ZSBCYW1ib28gR2xvdmUgd2l0aCBMYXRleCBDb2F0aW5nIDEwODA2MDAtOSIsInF0eV9yZXF1ZXN0IjoyODgsInF0eV9yZWNlaXZlZCI6MCwiYmluIjpudWxsLCJscG4iOm51bGwsImxvdCI6bnVsbCwiZXhwaXIiOm51bGwsInVvbSI6IiJ9LHsic2t1IjoiNzAyMzc3ODA2MDAwMCIsImRlc2NyaXB0aW9uIjoiV2hpdGUgQmFtYm9vIEdsb3ZlIHdpdGggTGF0ZXggQ29hdGluZyAxMDgwNjAwLTEwIiwicXR5X3JlcXVlc3QiOjI4OCwicXR5X3JlY2VpdmVkIjowLCJiaW4iOm51bGwsImxwbiI6bnVsbCwibG90IjpudWxsLCJleHBpciI6bnVsbCwidW9tIjoiIn1dfQ==","ContentType":"application/json","ExpireDocumentStrategy":null,"ExpireDocumentAfter":null,"Source":{"CorrelationId":"2e4b4cb4-3b9e-4272-9798-117296b73c59","Type":"Connector","Group":"Bulk","Id":"3589246a-e200-469e-94b6-9924c7575f0a","Detail":null,"Source":null},"Headers":{}}");