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