SAP CRM my task 6个roundtrip的原理讲解

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/i042416/article/details/85645270

6组串行的roundtrips:
在这里插入图片描述

  1. 取得my task application的navigation target:
    (Request-Line) GET /flp/navigation/semanticObject/Task/action/manageTasks/site/d4bfd59d-32a1-46ce-ba33-f6ccb7e152cc?
    formFactor=desktop&_=1433847650925 HTTP/1.1

  2. 取js file, can be ignored once broswer cache is hit

3.a. 取css file, can be ignored once broswer cache is hit
3.b 取metadata, can be ignored once broswer cache is hit

  1. 拿CSRF token:
    在这里插入图片描述

  2. 使用http post批量拿Technical details, UserPriorities and UserStatus.
    (Content)
    –batch_ac0d-3682-7af9
    Content-Type: application/http
    Content-Transfer-Encoding: binary
    GET TechnicalDetails HTTP/1.1
    Accept-Language: en
    Accept: application/json
    MaxDataServiceVersion: 2.0
    DataServiceVersion: 2.0
    –batch_ac0d-3682-7af9
    Content-Type: application/http
    Content-Transfer-Encoding: binary
    GET UserPriorities HTTP/1.1
    Accept-Language: en
    Accept: application/json
    MaxDataServiceVersion: 2.0
    DataServiceVersion: 2.0
    –batch_ac0d-3682-7af9
    Content-Type: application/http
    Content-Transfer-Encoding: binary
    GET UserStatuses HTTP/1.1
    Accept-Language: en
    Accept: application/json
    MaxDataServiceVersion: 2.0
    DataServiceVersion: 2.0

  3. fetch tasks which is visible for current log on user in the list:

(Request-Line) GET /sap/opu/odata/sap/CRM_TASK/Tasks?
KaTeX parse error: Expected 'EOF', got '&' at position 7: skip=0&̲top=20& o r d e r b y = C r e a t e d A t orderby=CreatedAt%20asc& filter=MyTask%20eq%20true%20and%20Completed%20eq%20false&$inlinecount=allpages HTTP/1.1

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

猜你喜欢

转载自blog.csdn.net/i042416/article/details/85645270