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