{
"name": "Integracao 2",
"protocol": "http",
"host": "127.0.0.1",
"port": 8080,
"path": "/",
"status": 200,
"language": "json",
"strategy": "Bearer",
"token": "FASDX57-8U43HJK-JGK54DG",
"checked": false,
"events": [
{
"integrationExposedData": {
"id": 1
},
"permissionList": {
"id": 2
}
},
{
"integrationExposedData": {
"id": 1
},
"permissionList": {
"id": 3
}
},
{
"integrationExposedData": {
"id": 1
},
"permissionList": {
"id": 4
}
}
],
"userCreated": {
"id": -1
},
"userChanged": {
"id": null
},
"userDeleted": {
"id": null
}
}curl --location --request POST 'https://prod.your-api-server.com/api/v1/integration' \
--header 'Authorization: {{auth_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Integracao 2",
"protocol": "http",
"host": "127.0.0.1",
"port": 8080,
"path": "/",
"status": 200,
"language": "json",
"strategy": "Bearer",
"token": "FASDX57-8U43HJK-JGK54DG",
"checked": false,
"events": [
{
"integrationExposedData": {
"id": 1
},
"permissionList": {
"id": 2
}
},
{
"integrationExposedData": {
"id": 1
},
"permissionList": {
"id": 3
}
},
{
"integrationExposedData": {
"id": 1
},
"permissionList": {
"id": 4
}
}
],
"userCreated": {
"id": -1
},
"userChanged": {
"id": null
},
"userDeleted": {
"id": null
}
}'{}