{
"name": "Mercury API Checking",
"type": "pull_request",
"assetId": 1,
"httpMethod": "GET",
"endpointUrl": "https://api.cmsriver.com/api/mock-mapp",
"requestHeader": [
{
"key": "key",
"value": "3577c7bf7dsa7232dsadsd123-670f2eb21c4__"
}
],
"requestBody": [],
"requestInterval": 2000,
"googleSheetUrl": "",
"tableAnalyticId": 1,
"status": "active",
"authenticationType": "basic_authentication",
"basicAuthUser": "admin@gmail.com",
"basicAuthPassword": "secret",
"interactionType": "update",
"scheduledType": "retention",
"scheduledDate": 1,
"scheduledDay": 0,
"scheduledHour": "00:00:00",
"retentionFrom": "02:00:00",
"retentionEvery": "00:01:00"
}
curl --location --request PUT 'http://localhost:8080/api/v1/dataConnector/3/edit' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Mercury API Checking",
"type": "pull_request",
"assetId": 1,
"httpMethod": "GET",
"endpointUrl": "https://api.cmsriver.com/api/mock-mapp",
"requestHeader": [
{
"key": "key",
"value": "3577c7bf7dsa7232dsadsd123-670f2eb21c4__"
}
],
"requestBody": [],
"requestInterval": 2000,
"googleSheetUrl": "",
"tableAnalyticId": 1,
"status": "active",
"authenticationType": "basic_authentication",
"basicAuthUser": "admin@gmail.com",
"basicAuthPassword": "secret",
"interactionType": "update",
"scheduledType": "retention",
"scheduledDate": 1,
"scheduledDay": 0,
"scheduledHour": "00:00:00",
"retentionFrom": "02:00:00",
"retentionEvery": "00:01:00"
}'
{}