天天看點

My Appointment編輯場景下的roundtrip

This is used in FaaS performance analysis program.

My Appointment編輯場景下的roundtrip

(1). 權限檢查:

My Appointment編輯場景下的roundtrip
My Appointment編輯場景下的roundtrip

(2). /sap/opu/odata/sap/CRM_APPOINTMENT_SRV/AppointmentSet(guid’3440B5B1-72DE-1EE5-8AA1-4A211B548898’)

取ETAG:

My Appointment編輯場景下的roundtrip

這個ETAG會在save button被調用時使用到:

My Appointment編輯場景下的roundtrip

(3).

My Appointment編輯場景下的roundtrip

(4). 取complex note:

My Appointment編輯場景下的roundtrip
My Appointment編輯場景下的roundtrip

cloud version

(1). GET /sap/opu/odata/sap/CRM_APPOINTMENT_SRV/EditAuthorizationCheck?ObjectGuid=guid’3440B5B1-6F66-1EE5-82B4-A9B3DA66921D’ HTTP/1.1 - 權限檢查

My Appointment編輯場景下的roundtrip

(2). GET /sap/opu/odata/sap/CRM_APPOINTMENT_SRV/AppointmentSet(guid’3440B5B1-6F66-1EE5-82B4-A9B3DA66921D’)?$expand=Attendee,AppointmentToAttachment HTTP/1.1

這個roundtrip是在NewAppointment.js的editAppointment裡trigger的,同步。

My Appointment編輯場景下的roundtrip

(3). 拿CSRF token,因為接下來是http post:

My Appointment編輯場景下的roundtrip

(4). http post - batch

POST /sap/opu/odata/sap/CRM_APPOINTMENT_SRV/$batch HTTP/1.1

a. GET AppointmentSet(guid’3440B5B1-6F66-1EE5-82B4-A9B3DA66921D’)/AppointmentStatuses HTTP/1.1

b. GET UserPriorities HTTP/1.1

拿drop down list裡status和priority裡的entry:

user status:

My Appointment編輯場景下的roundtrip

繼續閱讀