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