如何通过Chrome直接创建SAP CRM Opportunity的文本

112 阅读1分钟

Since we need to use HTTP post for note creation, it is necessary to get a CSRF token first. Use the following settings in Chrome extension Postman to fetch a CSRF token:

clipboard1

Click Send button, and the token is returned in HTTP response field x-csrf-token.

clipboard2

If we maintain http payload via the following settings,

clipboard3

we will get error response like below:

clipboard4

the exception is raised due to an unsupported format:

clipboard5
clipboard6

Then assemble a new HTTP post request with following settings, in http payload tab, choose option “raw” with format JSON, and paste the following json string containing Opportunity header guid and the note content you would like to create, click send button:

clipboard7

You should see the successful creation response:

clipboard8

and the newly created note is visible in Fiori ui:

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