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":"eyJyZXBsZV9pZCI6IjEwNSIsInBvX251bSI6IlBPMjQ0MTIiLCJzdGF0dXMiOiJyZWFkeSBmb3IgeW91ciByZXZpZXciLCJ0cmFja2luZ19udW0iOm51bGwsInN1cHBsaWVyX25hbWUiOiJTYW1zdW5nIiwiY29tbWVudHMiOm51bGwsImJvZSI6bnVsbCwiYmxfbnVtIjpudWxsLCJjb250YWluZXJfbnVtIjpudWxsLCJleHBlY3RlZF9kZWxpdmVyeV9kYXRlIjoiMjAyMC0xMS0yMCIsInByZV9zeW5jIjoiT2ZmIiwiaXRlbXMiOlt7InNrdSI6Ijg1OTcyNS0iLCJkZXNjcmlwdGlvbiI6IlJ1c3NlbGwgSG9iYnMgTWluaSBNb3JuaW5nIDMtUGMgUGFjayAtIFBlcnNvbmFsIEJsZW5kZXIsIEVnZyBCb2lsZXIgJiBDb2ZmZWUgTWFrZXIgUkhNTUJFQyIsInF0eV9yZXF1ZXN0IjoxLCJxdHlfcmVjZWl2ZWQiOjAsImJpbiI6bnVsbCwibHBuIjpudWxsLCJsb3QiOm51bGwsImV4cGlyIjpudWxsLCJ1b20iOiIifV19","ContentType":"application/json","ExpireDocumentStrategy":null,"ExpireDocumentAfter":null,"Source":{"CorrelationId":"592f5e4d-3746-4502-ad4b-44f6f3e83ef0","Type":"Connector","Group":"Bulk","Id":"f4c5652a-a87c-45c2-a35a-8b9a988fb304","Detail":null,"Source":null},"Headers":{}}");