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":"eyJyZXBsZV9pZCI6IjQ5IiwicG9fbnVtIjoiIiwic3RhdHVzIjoicmVhZHkgZm9yIHlvdXIgcmV2aWV3IiwidHJhY2tpbmdfbnVtIjpudWxsLCJzdXBwbGllcl9uYW1lIjpudWxsLCJjb21tZW50cyI6bnVsbCwiYm9lIjpudWxsLCJibF9udW0iOm51bGwsImNvbnRhaW5lcl9udW0iOm51bGwsImV4cGVjdGVkX2RlbGl2ZXJ5X2RhdGUiOiIyMDIwLTA4LTEzIiwicHJlX3N5bmMiOiJPZmYiLCJpdGVtcyI6W3sic2t1IjoiUEFQRVIwMyIsImRlc2NyaXB0aW9uIjoiODBnbSBCbHVlIFBhcGVyIiwicXR5X3JlcXVlc3QiOjEzLCJxdHlfcmVjZWl2ZWQiOjEzLCJiaW4iOiJCMS0yMDMoMTMpICIsImxwbiI6bnVsbCwibG90IjoiIiwiZXhwaXIiOm51bGwsInVvbSI6IiJ9LHsic2t1IjoiUEFQRVIwMSIsImRlc2NyaXB0aW9uIjoiODBnbSBXaGl0ZSBwYXBlciIsInF0eV9yZXF1ZXN0IjoxNSwicXR5X3JlY2VpdmVkIjoxNSwiYmluIjoiRDAxLTAxQTAwMSgxNSkgIiwibHBuIjpudWxsLCJsb3QiOiIiLCJleHBpciI6bnVsbCwidW9tIjoiIn1dfQ==","ContentType":"application/json","ExpireDocumentStrategy":null,"ExpireDocumentAfter":null,"Source":{"CorrelationId":"cd42ca94-6f11-4098-ba23-cf1d451f4304","Type":"Connector","Group":"Bulk","Id":"4b78c39a-33ce-4363-a258-e727ad6f766b","Detail":null,"Source":null},"Headers":{}}");