當前位置:
首頁 > 知識 > 利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

本人微信和易信公眾號: 微軟動態CRM專家羅勇 ,回復261或者20170724可方便獲取本文,同時可以在第一間得到我發布的最新的博文信息,follow me!我的網站是 www.luoyong.me 。

Web API在Dynamics CRM中的功能越來越強大,Dynamics 365 (Dynamics CRM V8.2) 又增加了一些通過通過Web API可以執行的操作(Action) ,比如 ExecuteWorkflow這個Action,具體Web API可以執行哪些操作呢?可以參考SDK的 Web API Action Reference 章節,也有在線版本,在線版本是 Web API Action Reference。當然,這個章節的內容會變化,要查看Dynamics CRM對應版本的SDK。今天要講解的是利用Fiddler的Replay功能通過Web API調用操作。

在繼續閱讀之前,如果你對通過Web API執行操作沒有概念,強烈建議你先閱讀我的文章:Dynamics CRM 2015/2016新特性之二十四:使用Web API執行操作。

我們先看 ExecuteWorkflow Action的說明,可以知道它是一個綁定操作, 它有一個輸入參數 EntityId ,也有返回參數,是個asyncoperation 實體記錄類型。為了測試需要,先要找一個工作流,我這裡有一個工作流如下,我這裡故意沒有選中 作為按需流程 ,是因為我想看看不選中這個是否也可以通過代碼執行這個工作流,當然在界面上通過運行工作流此時是找不到這個工作流的。

利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

然後我需要找一條這個工作流對應實體的一條記錄,我這裡選擇一條記錄。順便介紹下如何獲取記錄ID的方法,右擊一條記錄,選擇 在新窗口中打開 。

利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

然後就會在新窗口中打開,可以看到打開記錄時候的URL是類似: https://demo.luoyong.me/main.aspx?etc=10007&extraqs=&histKey=789763582&id=%7bB907DE1B-CF99-E611-8161-000D3A80C8B8%7d&newWindow=true&pagetype=entityrecord&sitemappath=SFA%7cExtensions%7cly_test#348434379 。這個URL中的id=%7b 和 %7d之間的就是這個記錄的ID。

我們還需要執行的工作流的ID,在解決方案中雙擊打開該工作流,有類似這樣的URL:https://demo.luoyong.me/sfa/workflow/edit.aspx?_CreateFromId=%7b2721DA92-65A4-E511-80CB-000D3A80CE7F%7d&_CreateFromType=7100&appSolutionId=%7b2721DA92-65A4-E511-80CB-000D3A80CE7F%7d&id=%7b6BEBC426-F722-4B64-AE5D-0DA379F8A8C4%7d

同樣的我們可以拿到這個工作流的ID。

我這裡藉助Fiddler來Replay,啟用Fiddler抓包,右擊一個請求,選擇 Replay > Reissue from Composer.

利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

在Fiddler的Composer中打開頁面類似如下:

利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

然後我們就可以更改請求方法,請求URL,請求頭Header和請求體Body。我這裡更改如下:

POST的URL我改成了:https://demo.luoyong.me/api/data/v8.2/workflows(6BEBC426-F722-4B64-AE5D-0DA379F8A8C4)/Microsoft.Dynamics.CRM.ExecuteWorkflow

Request Body我改成了如下,特別注意這個Cookie的元素值要保留,用來認證的,當然也會過期:

Content-Type: application/json; charset=utf-8

Accept: application/json

OData-MaxVersion: 4.0

OData-Version: 4.0

Cookie: ReqClientId=dff59da0-52dd-42f9-8ab9-e62ad9b24e57; e9cd027f-26a3-e511-80c6-000d3a807ec7_bd2a5c49-6b08-4eda-8a15-84159d9fd349=/Date(1478082706255)/; persistentNavTourCookie=HideNavTour; CRM_MSG_BAR_ServiceDeskAlert%23e9cd027f-26a3-e511-80c6-000d3a807ec7=HideMessage; MSISAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U2VjdXJpdHlDb250ZXh0VG9rZW4gcDE6SWQ9Il9lMzJiMGI3MC1mMjQ1LTRjYTctYjlkYi1mYTFkMWJjMjJmZmItODdFOUZBMDQzNjNCMjJDRTcwRDVDMkZEOTYxQkRDMTkiIHhtbG5zOnAxPSJodHRwOi8vZG9jcy5vYXNpcy1vcGVuLm9yZy93c3MvMjAwNC8wMS9vYXNpcy0yMDA0MDEtd3NzLXdzc2VjdXJpdHktdXRpbGl0eS0xLjAueHNkIiB4bWxucz0iaHR0cDovL2RvY3Mub2FzaXMtb3Blbi5vcmcvd3Mtc3gvd3Mtc2VjdXJlY29udmVyc2F0aW9uLzIwMDUxMiI+PElkZW50aWZpZXI+dXJuOnV1aWQ6MjQyOWJjNjYtOTM5YS00MDkzLTgxNWEtOTM0ODE2ZTg0ZTdiPC9JZGVudGlmaWVyPjxDb29raWUgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwNi8wNS9zZWN1cml0eSI+QVFBQUFOQ01uZDhCRmRFUmpIb0F3RS9DbCtzQkFBQUFSUzFtUzhiMXJVU2RKbUoxem96OWxRQUFBQUFDQUFBQUFBQURaZ0FBd0FBQUFCQUFBQUQyTXZYK1U0elcyVDBFYTZUU2paazNBQUFBQUFTQUFBQ2dBQUFBRUFBQUFKQkdVNk9NVVkzV1lSNWN6UEdTQm9Md0FnQUFFWU8ydHhxQXNxTVo0NS83WUJRL3pGdk1ZWndQWld6RnhjcVhHYWx6ZjZscFVsUVBnVWprSnArVVZYY0IxcGNsMXF5VmZ0UVhvbWQvYm1CazhlUFNPa0gzbHVVSFR1Unc4WDVMSUdrbkxHUzZpeHVKV1A4QW05dkRQd2tJOGszKzZsY1V1Zm81VVYrNGpHcC9WaDdYMGo4c3dSekxGNmFpRkd3SGEwSHVJT2lNdEoxWWlLd24zY2QwUWxObGtVSmM1SHUxZ1FJZldWdHp1d2E3UldXOUsybkY1dDNFZnJjRjdmSHZRK0owV25LSGJZTyt6R0JrU0FoNGtaZlluSXZrNEU4M0trMmMyeHk5enNaWFpaaG13dHhxcVhpRjNMMnN2cEdDTVFlemdPelpvbk1sRVVNdmFQT0ZHcDA3RUF4NUNVenhlSTJsZlY2WmF1ZVFNNTV2K3V6TGNYbUVObzlNd2tYUld2d0hxODB2VnB1R3dxZ1lCKzZaREcxTk9acUtwVlppamx4eHFBbU1nUlFRVFRUNzN4TXR1SU1VYk0vK0tLUVMrcjF0V05nUXRuNkNmeVM1NENBbHJwWjJPL2djVDlEZjdvdHJHVU9YVDZIcXZINWZ1VU1rODRBM1MvbkgvbzhtU245LzRZeXVEeDNiMFlxd2txTWlCeEJlaVdKY1pOWS9sdituaTc5WnhqUXJXR0VYaUVNdDRnMGhGS2RLL0E0aWVxUllRdjhGQ0lUY3BkQU5xbmdiMG5RTmwzYk16d1BRQU5wVTRiYVFxL1BScFlMUEVzMVNzU0o1dnBaRy9UY3Vad2d1dEd2cUVxbDlTS0NHdmRHRW0xN2VVZXQ4YzZZTlFhVTJaUEx3a1BsOExsYVlPblpQMWw4NVBzM0pmbnprTjhqTXRrcUxlaWJ5TVU3ZmhVbVN6alp2Q1YzN3ZCRE1MN2F1NXhMTE53Z2kvcExnazU0b2UySEtIM0oycDArZDZTVk5ldzlvZkIvd2E2d0lMbXllbXBqUnp0ZDMvaEZGMFI3VkRYTExkRjRVOHhldEJicSt6NHgwUmc4NUxhSWFPU2lNUW9DQlRpcm53TkY0aGNUV1ZOYmVzMXphVStQU1JGd1JrT3BWTlM2cFcreXF4UFI3S1QrOTVNTGF1Slgxd1VJYmFWUFd2a3pyKzhQLzFIMm5nVnFSc3pxV1RKbjlrMWxlRWhB; MSISAuth1=M3VIZmdZZmVFcTExU3ErbDBiR1dPQUUvaEMxMFFOejlYa2tRdUxPNFd4SmVLVm82bkw1WllTWU84aDBRMkVqQUdlK1dIQ1A5cjgyQ3p0Z2dvQWhZQk1RNnJlZnJJdXNjVUFBQUFPVUdacjkrcTY0cHhyd2JyYVVuTWEyRVlVUU09PC9Db29raWU+PC9TZWN1cml0eUNvbnRleHRUb2tlbj4=; CRM_MSG_BAR_e9cd027f-26a3-e511-80c6-000d3a807ec7GetAppsForCrm=HideMessage; CRM_MSG_BAR_EnableS2SAlert%23e9cd027f-26a3-e511-80c6-000d3a807ec7=HideMessage

Request Body我改成了:

{"EntityId":"B907DE1B-CF99-E611-8161-000D3A80C8B8"}

我執行的話會返回HTTP Status為500,內部錯誤:

HTTP/1.1 500 Internal Server Error

Cache-Control: no-cache

Pragma: no-cache

Content-Type: application/json; odata.metadata=minimal

Expires: -1

Server: Microsoft-IIS/8.5

REQ_ID: 5b92fe5f-7856-4817-bc18-210b20fa2b08

OData-Version: 4.0

X-AspNet-Version: 4.0.30319

X-Powered-By: ASP.NET

Date: Mon, 24 Jul 2017 15:33:39 GMT

Content-Length: 2869

{

"error":{

"code":"","message":"Workflow must be marked as on-demand or child workflow.","innererror":{

"message":"Workflow must be marked as on-demand or child workflow.","type":"System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]","stacktrace":" at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, Boolean checkAdminMode, ExecutionContext executionContext)
at Microsoft.Crm.Extensibility.OData.CrmODataExecutionContext.Execute(OrganizationRequest request, ExecutionContext executionContext)
at Microsoft.Crm.Extensibility.OData.CrmODataServiceDataProvider.ExecuteOperation(CrmODataExecutionContext context, EdmOperation edmOperation, Dictionary`2 parameters, Dictionary`2 boundParameters)
at Microsoft.Crm.Extensibility.OData.ActionController.ProcessOperationRequest(String operationName, Dictionary`2 operationParameters, EntityReference entityReference, String boundEntityName, String boundEntityType)
at Microsoft.Crm.Extensibility.OData.ActionController.PostBoundAction(String entityName, String key, String operationName, ODataUntypedActionParameters parameters)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext"

}

提示很清晰,工作流必須要選中 作為按需流程 或者是子流程才行。於是我停用該工作流,然後激活該工作流,再來嘗試,執行結果如下:

利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

如果查看原版的返回內容是這樣的:

HTTP/1.1 200 OK

REQ_ID: 0ad59cc7-ab4e-49bf-a05b-8b522db29c75

Preference-Applied: return=representation

Date: Mon, 24 Jul 2017 15:39:04 GMT

Content-Length: 38136

{

"@odata.context":"https://demo.luoyong.me/api/data/v8.2/$metadata#asyncoperations/$entity","statecode":0,"asyncoperationid":"f9349b37-8670-e711-826c-000d3a80c8b8","_regardingobjectid_value":"b907de1b-cf99-e611-8161-000d3a80c8b8","_owningextensionid_value":"c8556024-8670-e711-826c-000d3a80c8b8","createdon":"2017-07-24T15:39:03Z","_workflowactivationid_value":"c8556024-8670-e711-826c-000d3a80c8b8","depth":1,"messagename":"ExecuteWorkflow","_ownerid_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","name":"u7f57u52c7u6d4bu8bd5u5b9eu4f53u5b57u6bb5u503cu53d8u66f4u540eu8fd0u884cu7684u5de5u4f5cu6d41","correlationid":"0c36b86f-f64f-4ba5-bf58-d260ab9e4022","parentpluginexecutionid":"00000000-0000-0000-0000-000000000000","iswaitingforevent":false,"correlationupdatedtime":"2017-07-24T15:39:03Z","timezoneruleversionnumber":0,"_modifiedby_value":"bef8b450-fb18-4078-a7ac-2b281e1cf051","primaryentitytype":"ly_test","statuscode":0,"operationtype":10,"modifiedon":"2017-07-24T15:39:03Z","sequence":183869,"_modifiedonbehalfby_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","executiontimespan":0.0,"_createdonbehalfby_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","_createdby_value":"bef8b450-fb18-4078-a7ac-2b281e1cf051","_owningbusinessunit_value":"487cdd4b-26a3-e511-80c6-000d3a807ec7","data":"<?xml version="1.0" encoding="utf-16"?><AsyncOperationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Crm"><CallerOrigin xmlns:d2p1="http://schemas.datacontract.org/2004/07/Microsoft.Crm.Sdk" i:type="d2p1:WebServiceApiOrigin" /><InitiatingUserId>e9cd027f-26a3-e511-80c6-000d3a807ec7</InitiatingUserId><InputParameters xmlns:d2p1="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:d2p2="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><d2p1:KeyValuePairOfstringanyType><d2p2:key>EntityId</d2p2:key><d2p2:value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d4p1:guid">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>WorkflowId</d2p2:key><d2p2:value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d4p1:guid">6bebc426-f722-4b64-ae5d-0da379f8a8c4</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>InputArguments</d2p2:key><d2p2:value i:nil="true" /></d2p1:KeyValuePairOfstringanyType></InputParameters><InvocationSource>0</InvocationSource><OutputParameters xmlns:d2p1="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:d2p2="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /><ParentContext i:nil="true" /><PostEntityImages xmlns:d2p1="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:d2p2="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /><PreEntityImages xmlns:d2p1="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:d2p2="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><d2p1:KeyValuePairOfstringEntitygUGIFE1S><d2p2:key>ly_test</d2p2:key><d2p2:value><d2p1:Attributes><d2p1:KeyValuePairOfstringanyType><d2p2:key>statecode</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>0</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>statuscode</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>1</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdon</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owneridyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money_base</d2p2:key><d2p2:value i:type="d2p1:Money"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ownerid</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedbyyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_integer</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">441</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedon</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2017-07-24T14:29:08Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_bool</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:boolean">true</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">393470</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>c04ee8b4-27a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>transactioncurrency</d2p1:LogicalName><d2p1:Name>u4ebau6c11u5e01</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>exchangerate</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:decimal">1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">0</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedby</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdbyyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_decimal</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:decimal">49902414.9600000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_lookup</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>c823165a-3aa3-e511-80c7-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>account</d2p1:LogicalName><d2p1:Name>u57ceu5e02u7535u529bu7167u660eu516cu53f8 (u793au4f8b)</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_optionset</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>364750002</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdby</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_singlelinetext</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u5212u62ab1</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>487cdd4b-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>businessunit</d2p1:LogicalName><d2p1:Name i:nil="true" /><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money</d2p2:key><d2p2:value i:type="d2p1:Money"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owninguser</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name i:nil="true" /><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_testid</d2p2:key><d2p2:value xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d7p1:guid">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_datetime</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_float</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:double">499024149.58</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_multilinetext</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u5212u62abu80afu7cb3u9640u9897u4f3cu6577u8d28u897fu6444u6028u5146u5f62u65e6u7624u8150u5492u82c7u79cd</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_name</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">2016-10-24T17:49:09</d2p2:value></d2p1:KeyValuePairOfstringanyType></d2p1:Attributes><d2p1:EntityState i:nil="true" /><d2p1:FormattedValues><d2p1:KeyValuePairOfstringstring><d2p2:key>statecode</d2p2:key><d2p2:value>u53efu7528</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>statuscode</d2p2:key><d2p2:value>u8349u7a3f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdon</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money_base</d2p2:key><d2p2:value>u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ownerid</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_integer</d2p2:key><d2p2:value>441</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedon</d2p2:key><d2p2:value>2017-07-24T22:29:08+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_bool</d2p2:key><d2p2:value>u662f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value>393,470</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value>u4ebau6c11u5e01</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>exchangerate</d2p2:key><d2p2:value>1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value>0</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedby</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_decimal</d2p2:key><d2p2:value>49,902,414.96</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_lookup</d2p2:key><d2p2:value>u57ceu5e02u7535u529bu7167u660eu516cu53f8 (u793au4f8b)</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_optionset</d2p2:key><d2p2:value>u5f88u4f4e</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdby</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:nil="true" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money</d2p2:key><d2p2:value>u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owninguser</d2p2:key><d2p2:value i:nil="true" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_datetime</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_float</d2p2:key><d2p2:value>499,024,149.58</d2p2:value></d2p1:KeyValuePairOfstringstring></d2p1:FormattedValues><d2p1:Id>b907de1b-cf99-e611-8161-000d3a80c8b8</d2p1:Id><d2p1:KeyAttributes xmlns:d5p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>ly_test</d2p1:LogicalName><d2p1:RelatedEntities /><d2p1:RowVersion>2368019</d2p1:RowVersion></d2p2:value></d2p1:KeyValuePairOfstringEntitygUGIFE1S><d2p1:KeyValuePairOfstringEntitygUGIFE1S><d2p2:key>PreBusinessEntity</d2p2:key><d2p2:value><d2p1:Attributes><d2p1:KeyValuePairOfstringanyType><d2p2:key>statecode</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>0</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>statuscode</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>1</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdon</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owneridyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money_base</d2p2:key><d2p2:value i:type="d2p1:Money"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ownerid</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedbyyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_integer</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">441</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedon</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2017-07-24T14:29:08Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_bool</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:boolean">true</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">393470</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>c04ee8b4-27a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>transactioncurrency</d2p1:LogicalName><d2p1:Name>u4ebau6c11u5e01</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>exchangerate</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:decimal">1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">0</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedby</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdbyyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_decimal</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:decimal">49902414.9600000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_lookup</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>c823165a-3aa3-e511-80c7-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>account</d2p1:LogicalName><d2p1:Name>u57ceu5e02u7535u529bu7167u660eu516cu53f8 (u793au4f8b)</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_optionset</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>364750002</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdby</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_singlelinetext</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u5212u62ab1</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>487cdd4b-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>businessunit</d2p1:LogicalName><d2p1:Name i:nil="true" /><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money</d2p2:key><d2p2:value i:type="d2p1:Money"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owninguser</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name i:nil="true" /><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_testid</d2p2:key><d2p2:value xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d7p1:guid">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_datetime</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_float</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:double">499024149.58</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_multilinetext</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u5212u62abu80afu7cb3u9640u9897u4f3cu6577u8d28u897fu6444u6028u5146u5f62u65e6u7624u8150u5492u82c7u79cd</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_name</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">2016-10-24T17:49:09</d2p2:value></d2p1:KeyValuePairOfstringanyType></d2p1:Attributes><d2p1:EntityState i:nil="true" /><d2p1:FormattedValues><d2p1:KeyValuePairOfstringstring><d2p2:key>statecode</d2p2:key><d2p2:value>u53efu7528</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>statuscode</d2p2:key><d2p2:value>u8349u7a3f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdon</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money_base</d2p2:key><d2p2:value>u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ownerid</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_integer</d2p2:key><d2p2:value>441</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedon</d2p2:key><d2p2:value>2017-07-24T22:29:08+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_bool</d2p2:key><d2p2:value>u662f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value>393,470</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value>u4ebau6c11u5e01</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>exchangerate</d2p2:key><d2p2:value>1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value>0</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedby</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_decimal</d2p2:key><d2p2:value>49,902,414.96</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_lookup</d2p2:key><d2p2:value>u57ceu5e02u7535u529bu7167u660eu516cu53f8 (u793au4f8b)</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_optionset</d2p2:key><d2p2:value>u5f88u4f4e</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdby</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:nil="true" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money</d2p2:key><d2p2:value>u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owninguser</d2p2:key><d2p2:value i:nil="true" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_datetime</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_float</d2p2:key><d2p2:value>499,024,149.58</d2p2:value></d2p1:KeyValuePairOfstringstring></d2p1:FormattedValues><d2p1:Id>b907de1b-cf99-e611-8161-000d3a80c8b8</d2p1:Id><d2p1:KeyAttributes xmlns:d5p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>ly_test</d2p1:LogicalName><d2p1:RelatedEntities /><d2p1:RowVersion>2368019</d2p1:RowVersion></d2p2:value></d2p1:KeyValuePairOfstringEntitygUGIFE1S></PreEntityImages><PrimaryEntityName>ly_test</PrimaryEntityName><SecondaryEntityName>none</SecondaryEntityName><SharedVariables xmlns:d2p1="http://schemas.microsoft.com/xrm/2011/Contracts" xmlns:d2p2="http://schemas.datacontract.org/2004/07/System.Collections.Generic"><d2p1:KeyValuePairOfstringanyType><d2p2:key>PreBusinessEntity</d2p2:key><d2p2:value i:type="d2p1:Entity"><d2p1:Attributes><d2p1:KeyValuePairOfstringanyType><d2p2:key>statecode</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>0</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>statuscode</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>1</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdon</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owneridyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money_base</d2p2:key><d2p2:value i:type="d2p1:Money"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ownerid</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedbyyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_integer</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">441</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedon</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2017-07-24T14:29:08Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_bool</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:boolean">true</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">393470</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>c04ee8b4-27a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>transactioncurrency</d2p1:LogicalName><d2p1:Name>u4ebau6c11u5e01</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>exchangerate</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:decimal">1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:int">0</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>modifiedby</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdbyyominame</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_decimal</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:decimal">49902414.9600000000</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_lookup</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>c823165a-3aa3-e511-80c7-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>account</d2p1:LogicalName><d2p1:Name>u57ceu5e02u7535u529bu7167u660eu516cu53f8 (u793au4f8b)</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_optionset</d2p2:key><d2p2:value i:type="d2p1:OptionSetValue"><d2p1:Value>364750002</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>createdby</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name>u7cfbu7edfu7ba1u7406u5458</d2p1:Name><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_singlelinetext</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u5212u62ab1</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>487cdd4b-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>businessunit</d2p1:LogicalName><d2p1:Name i:nil="true" /><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_money</d2p2:key><d2p2:value i:type="d2p1:Money"><d2p1:Value>99804829.9200</d2p1:Value></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>owninguser</d2p2:key><d2p2:value i:type="d2p1:EntityReference"><d2p1:Id>e9cd027f-26a3-e511-80c6-000d3a807ec7</d2p1:Id><d2p1:KeyAttributes xmlns:d8p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>systemuser</d2p1:LogicalName><d2p1:Name i:nil="true" /><d2p1:RowVersion i:nil="true" /></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_testid</d2p2:key><d2p2:value xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d7p1:guid">b907de1b-cf99-e611-8161-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_datetime</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:dateTime">2016-10-24T09:49:09Z</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_float</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:double">499024149.58</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_multilinetext</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">u5212u62abu80afu7cb3u9640u9897u4f3cu6577u8d28u897fu6444u6028u5146u5f62u65e6u7624u8150u5492u82c7u79cd</d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>ly_name</d2p2:key><d2p2:value xmlns:d7p1="http://www.w3.org/2001/XMLSchema" i:type="d7p1:string">2016-10-24T17:49:09</d2p2:value></d2p1:KeyValuePairOfstringanyType></d2p1:Attributes><d2p1:EntityState i:nil="true" /><d2p1:FormattedValues><d2p1:KeyValuePairOfstringstring><d2p2:key>statecode</d2p2:key><d2p2:value>u53efu7528</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>statuscode</d2p2:key><d2p2:value>u8349u7a3f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdon</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money_base</d2p2:key><d2p2:value>u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ownerid</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_integer</d2p2:key><d2p2:value>441</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedon</d2p2:key><d2p2:value>2017-07-24T22:29:08+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_bool</d2p2:key><d2p2:value>u662f</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_minutessincecreated</d2p2:key><d2p2:value>393,470</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>transactioncurrencyid</d2p2:key><d2p2:value>u4ebau6c11u5e01</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>exchangerate</d2p2:key><d2p2:value>1.0000000000</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>timezoneruleversionnumber</d2p2:key><d2p2:value>0</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>modifiedby</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_decimal</d2p2:key><d2p2:value>49,902,414.96</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_lookup</d2p2:key><d2p2:value>u57ceu5e02u7535u529bu7167u660eu516cu53f8 (u793au4f8b)</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_optionset</d2p2:key><d2p2:value>u5f88u4f4e</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>createdby</d2p2:key><d2p2:value>u7cfbu7edfu7ba1u7406u5458</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owningbusinessunit</d2p2:key><d2p2:value i:nil="true" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_money</d2p2:key><d2p2:value>u00a599,804,829.92</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>owninguser</d2p2:key><d2p2:value i:nil="true" /></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_datetime</d2p2:key><d2p2:value>2016-10-24T17:49:09+08:00</d2p2:value></d2p1:KeyValuePairOfstringstring><d2p1:KeyValuePairOfstringstring><d2p2:key>ly_float</d2p2:key><d2p2:value>499,024,149.58</d2p2:value></d2p1:KeyValuePairOfstringstring></d2p1:FormattedValues><d2p1:Id>b907de1b-cf99-e611-8161-000d3a80c8b8</d2p1:Id><d2p1:KeyAttributes xmlns:d5p1="http://schemas.microsoft.com/xrm/7.1/Contracts" /><d2p1:LogicalName>ly_test</d2p1:LogicalName><d2p1:RelatedEntities /><d2p1:RowVersion>2368019</d2p1:RowVersion></d2p2:value></d2p1:KeyValuePairOfstringanyType><d2p1:KeyValuePairOfstringanyType><d2p2:key>AsyncOperationId</d2p2:key><d2p2:value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/" i:type="d4p1:guid">f9349b37-8670-e711-826c-000d3a80c8b8</d2p2:value></d2p1:KeyValuePairOfstringanyType></SharedVariables><Stage>30</Stage></AsyncOperationData>","_owninguser_value":"e9cd027f-26a3-e511-80c6-000d3a807ec7","subtype":1,"message":null,"dependencytoken":null,"postponeuntil":null,"_owningteam_value":null,"completedon":null,"recurrencepattern":null,"workflowstagename":null,"recurrencestarttime":null,"errorcode":null,"hostid":null,"utcconversiontimezonecode":null,"requestid":null,"friendlymessage":null,"retrycount":null,"startedon":null

}

可以看到執行成功,我去界面上也可以看到執行了工作流:

利用Fiddler修改請求信息通過Web API執行Dynamics 365操作(Action)實例

喜歡這篇文章嗎?立刻分享出去讓更多人知道吧!

本站內容充實豐富,博大精深,小編精選每日熱門資訊,隨時更新,點擊「搶先收到最新資訊」瀏覽吧!


請您繼續閱讀更多來自 科技優家 的精彩文章:

在linux中安裝git,並將代碼發布到github
基於Entity Framework的自定義分頁,增刪改的通用實現
RandomAccessFile類的使用
Android——Intent組件帶參傳遞與返回
配置ssh免密碼登錄——集群學習日記

TAG:科技優家 |

您可能感興趣

SBTG x Paris Saint-Germain瞄準NIKE Air Force 1,這波操作服不服?
Python鏈式操作:PyFunctional
Google Android Wear智能手錶操作系統更名為Wear OS by Google
Matrix R2 Sled穩定器發布,用於操作DJI Ronin 2
Oculus升級Rift最低操作系統要求為Windows 10
新版 iWork 套件已支持Apple Pencil操作
索尼為Xperia XZ2 Premium推送Android 9.0 迎來全新手勢操作
傳微軟Surface Phone摺疊手機或將搭載Windows 10操作系統
Xbox Live全新Avatar人偶系統畫面曝光 支持Win10 PC操作
Google決定用gLinux取代Goobuntu Linux操作系統
Google Analytics實際應用與Google編輯器的操作
【從caffe到Tensorflow 1】io 操作
Magic Leap One操作系統或叫Lumin
Elasticsearch的DSL操作命令大全
Prime day CPC怎麼投,Acos直降10%的神操作!
Android P提供的Android手勢操作
1.30 VR掃描:Magic Leap One操作系統或名為「Lumin」;足部遊戲控制器3dRudder將支持PSVR
Google 的新操作系統 Fuchsia OS 的非官方的 Web版Demo 釋出
Google 谷歌 Android P[9.0]開發預覽版操作系統體驗 Pixel XL [農步祥]
還有這種操作?3D列印巨頭BigRep聯手阿聯酋Immensa Technology Labs打造智能照明牆