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":"eyJyZXBsZV9pZCI6IjMzMzIiLCJwb19udW0iOiJQTy0yMDM0MC1BIiwic3RhdHVzIjoiaW50cmFuc2l0IiwidHJhY2tpbmdfbnVtIjpudWxsLCJzdXBwbGllcl9uYW1lIjoiUGhhcm1hUmVmcmlkZ2UiLCJjb21tZW50cyI6bnVsbCwiYm9lIjpudWxsLCJibF9udW0iOm51bGwsImNvbnRhaW5lcl9udW0iOm51bGwsImV4cGVjdGVkX2RlbGl2ZXJ5X2RhdGUiOiIyMDI0LTA0LTIyIiwicHJlX3N5bmMiOiJPZmYiLCJpdGVtcyI6W3sic2t1IjoiNzAyMzc3ODA2MDAwMCIsImRlc2NyaXB0aW9uIjoiV2hpdGUgQmFtYm9vIEdsb3ZlIHdpdGggTGF0ZXggQ29hdGluZyAxMDgwNjAwLTEwIiwicXR5X3JlcXVlc3QiOjYsInF0eV9yZWNlaXZlZCI6MCwiYmluIjpudWxsLCJscG4iOm51bGwsImxvdCI6bnVsbCwiZXhwaXIiOm51bGwsInVvbSI6IiJ9LHsic2t1IjoiNDV1cC1BNCBTaXplIGxhYmVsIiwiZGVzY3JpcHRpb24iOiI0NSBVcCBMYWJlbHMgU2VsZiBBZGhlc2l2ZSBBNCBTaXplIC0gMTAwIFNoZWV0cyIsInF0eV9yZXF1ZXN0IjozLCJxdHlfcmVjZWl2ZWQiOjAsImJpbiI6bnVsbCwibHBuIjpudWxsLCJsb3QiOm51bGwsImV4cGlyIjpudWxsLCJ1b20iOiIifV19","ContentType":"application/json","ExpireDocumentStrategy":null,"ExpireDocumentAfter":null,"Source":{"CorrelationId":"20ddbb27-d871-430b-a8bd-c5e2bb56e988","Type":"Connector","Group":"Bulk","Id":"0a0d5dcc-e111-48ad-a171-6dc2443799f4","Detail":null,"Source":null},"Headers":{}}");