cancel
Showing results for 
Search instead for 
Did you mean: 

Data Collection log API is requesting file values

Manu
Explorer
0 Kudos
434

Dear all,

I am currently trying to automatically collect (log) data using "Design Production Processes". I found the Data Collection API on SAP Business API Hub and tried out the post method (/log). Unfortunately, file data is mandatory for this API:

"files": [

{

"fileContent": "string",

"fileId": "string",

"fileMediaType": "string",

"fileName": "string"

I am not sure how to configure DMC to make this API work.

I get following error message:

Best regards,
Manuel

Accepted Solutions (0)

Answers (1)

Answers (1)

sabahatshaikh
Explorer

Hi Manuel,

File data is not mandatory field for automatic data collection (/log) API. If your requirement is not to upload the file then you can remove "files" array from the input parameterValues list.

Browse the parameterValues input in "Log DC Values" service, Provide the data collection parameter details in name and value field, click to Switch To Code and remove "files" array from the JSON and click on Save.

This will save your data collection parameter name and value and will not include files details.

Regards,

Sabahat Shaikh