question

Josephnaveenkambham-8269 avatar image
0 Votes"
Josephnaveenkambham-8269 asked MartinJaffer-MSFT commented

logging response from rest Api using Azure data factory, I need to store the response back like 200 ,401,502

Hi Team,

I need the logging details to be captured for the response from Web API which I'm not getting in the output of copy activity.
Please could you let me know the possibilities as we are stuck in the deployment?

azure-data-factory
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

{
"statusCode": 201,
"statusCodeReason": "Created",
"externalReferenceNumber": "1598091119",
"responseBody": {
"workOrderUID": "c6be41dd-f591-eb11-b1ac-0022489a1403",
"workOrderName": "1700009426"
},
"isSuccess": true,
"requestStartedOn": "2021-03-31T07:51:02.4923217+00:00",
"requestCompletedOn": "2021-03-31T07:51:26.2721752+00:00",
"timeTaken": 23780
},

The above is the response I''m getting from postman which I need to capture this in the adf copyactivity
Help is much appreciated.

0 Votes 0 ·
MartinJaffer-MSFT avatar image MartinJaffer-MSFT Josephnaveenkambham-8269 ·

Hello @Josephnaveenkambham-8269 and welcome to Microsoft Q&A.

Is this logging data part of the content-body returned from the APi, or is this generated by a Postman feature?

Anything part of the content-body can be copied.

0 Votes 0 ·

@Josephnaveenkambham-8269 are you still facing the issue?

0 Votes 0 ·

If you found your own solution, please share it here with the community.

0 Votes 0 ·

0 Answers