NAV -image
php bash javascript python

Introduction

iPORTO: Delivery de Emails

A iPORTO, É uma empresa especialista em ferramentas para entrega de emails, fundada em 2003. Sediada em Porto Alegre, RS. Estrutura própria de Servidores e Código.

Introdução a iPORTO e sua API

O objetivo desta documentação é orientar o desenvolvedor sobre como integrar com a API iPORTO, descrevendo as funcionalidades, os métodos a serem utilizados, listando informações a serem enviadas e recebidas, e provendo exemplos.

Base URL

https://api.iporto.com.br

Authenticating requests

This API is not authenticated.

App\General

api/collective/core/help/article/article

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/article',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/article" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/article"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/article'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/article

api/collective/core/help/article/article/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/article/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/article/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/article/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/article/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/article/{id}

api/collective/core/help/article/glossary

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/glossary',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/glossary" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/glossary"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/glossary'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/glossary

api/collective/core/help/article/glossary/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/glossary/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/glossary/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/glossary/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/glossary/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/glossary/{id}

api/collective/core/help/article/post

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/post',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/post" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/post"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/post'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/post

api/collective/core/help/article/post/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/post/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/post/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/post/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/post/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/post/{id}

api/collective/core/help/article/project

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/project',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/project" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/project"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/project'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/project

api/collective/core/help/article/project/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/project/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/project/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/project/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/project/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/project/{id}

api/collective/core/help/article/question

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/question',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/question" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/question"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/question'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/question

api/collective/core/help/article/question/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/question/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/question/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/question/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/question/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/question/{id}

api/collective/core/help/article/tutorial

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/tutorial',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/tutorial" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/tutorial"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/tutorial'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/tutorial

api/collective/core/help/article/tutorial/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/collective/core/help/article/tutorial/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/collective/core/help/article/tutorial/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/collective/core/help/article/tutorial/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/collective/core/help/article/tutorial/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/collective/core/help/article/tutorial/{id}

index

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/ms/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/ms/contact" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/ms/contact"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/ms/contact'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/ms/contact

index

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/ms/pkg/marketing/email/campaign/dispatch/schedule

show

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}

api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers)
response.json()

Request      

PUT api/ms/pkg/marketing/email/campaign/dispatch/schedule/{id}

show

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/recipient/{campaign_id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/recipient/{campaign_id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/recipient/{campaign_id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/ms/pkg/marketing/email/campaign/recipient/{campaign_id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/ms/pkg/marketing/email/campaign/recipient/{campaign_id}

archive

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/ms/smtp/send/data/history/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/ms/smtp/send/data/history/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/ms/smtp/send/data/history/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/ms/smtp/send/data/history/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers)
response.json()

Request      

POST api/ms/smtp/send/data/history/{id}

account

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/ms/smtp/account/{account}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/ms/smtp/account/{account}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/ms/smtp/account/{account}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/ms/smtp/account/{account}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/ms/smtp/account/{account}

show

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/share/research-nps/{public_id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/share/research-nps/{public_id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/share/research-nps/{public_id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/share/research-nps/{public_id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/share/research-nps/{public_id}

api/{fallbackPlaceholder}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/{fallbackPlaceholder}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/{fallbackPlaceholder}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/{fallbackPlaceholder}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/{fallbackPlaceholder}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/{fallbackPlaceholder}

Auth\Api

Gestão de CHAVES de API.

Auth\Api\generate

Gera uma nova Chave de API para o Usuário logado.

alt text

REQUISIÇÃO NÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/token/generate',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'repellendus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/token/generate" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"repellendus"}'
const url = new URL(
    "https://api.iporto.com.br/api/token/generate"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "repellendus"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/token/generate'
payload = {
    "name": "repellendus"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "success": {
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImNjMmVjZDRhNzMzZjU5NDlhZDJlOTRjYjYwNmQyY2E2MDZkYzI3ODYwYzMxYjVlMWFhOTlmN2ViOWM2ZDhjMTMxOTk0MDc2MzRjMzg5OWVkIn0.eyJhdWQiOiIxIiwianRpIjoiY2MyZWNkNGE3MzNmNTk0OWFkMmU5NGNiNjA2ZDJjYTYwNmRjMjc4NjBjMzFiNWUxYWE5OWY3ZWI5YzZkOGMxMzE5OTQwNzYzNGMzODk5ZWQiLCJpYXQiOjE1NTk2NTczMzgsIm5iZiI6MTU1OTY1NzMzOCwiZXhwIjoxNTkxMjc5NzM3LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.Aqh7GT3oSE774VKTAztO8elPlKGqUnnffA2KDcdl1HNGPwq0Jw5d7KZkqr7h7_yWZAL6a_QAQEJ0YY7TYFBwcX1vxLbGrl3sOn0_Hv-tNrAb3XOv0mbAV6gNns8Ty_ZnuE2pxkVVKw37BM-XM8Vtj4XKb9I42hRjDiaw3Q4vVasdggs7SFVjY8TMRvVn_eSSPqRS1GzIMFVKMWfDzS3eEtn2gLhJ3GUvEZ74bZQiOw6GlvyVcCdlZ3HpcSJlQTgsnt7XNtmY75OEf273MRrb1HZuertw0_KhbD9fCQlS4pyr-dIpuWTaxrrN7bQbyEjGOsHzxEVFFNh2cC6ioSoJdCpmEv3467FwUPzqF4Xk2762UmME_M6owSYj8TZFRV02fRqv3yJY4KwTGLOod2opKU7AlqL5UNErJNIYtsnFzwnoCT9Tw4c5XZGt6hekZqqRexT7irqqGu-M_qmiOfLyF4txfKgJfPLH_Qm2GjQqHhDFZ7DFBuUPYhNbh3j6hpkU4tL1dllZMqQPR1aia7yOY-*0CEb7aU16xIFT_n53t9bNg2n92C6t1OeKg3sA_3XY5dcyQNVtsycazQ6yiEhfFpGFbkaRsC9wFJaEjMlzS54DjpSNLFsz-5LiOahYLHohlpERAbsISoWEASsIQAzeQsQoCckj8IdPVo0FuH_QmiYvk"
    },
    "data": {
        "id": 1,
        "client_id": 1,
        "name": "Frederico",
        "email": "dev@iporto.io",
        "is_active": 1,
        "scopes": "[]",
        "status": "cadastroAtivo",
        "last_action_at": {
            "date": "2019-06-04 11:08:56.168163",
            "timezone_type": 3,
            "timezone": "America\/Sao_Paulo"
        },
        "created_at": "2018-10-19 09:19:24",
        "updated_at": "2019-06-04 11:08:56",
        "deleted_at": null,
        "api_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImNjMmVjZDRhNzMzZjU5NDlhZDJlOTRjYjYwNmQyY2E2MDZkYzI3ODYwYzMxYjVlMWFhOTlmN2ViOWM2ZDhjMTMxOTk0MDc2MzRjMzg5OWVkIn0.eyJhdWQiOiIxIiwianRpIjoiY2MyZWNkNGE3MzNmNTk0OWFkMmU5NGNiNjA2ZDJjYTYwNmRjMjc4NjBjMzFiNWUxYWE5OWY3ZWI5YzZkOGMxMzE5OTQwNzYzNGMzODk5ZWQiLCJpYXQiOjE1NTk2NTczMzgsIm5iZiI6MTU1OTY1NzMzOCwiZXhwIjoxNTkxMjc5NzM3LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.Aqh7GT3oSE774VKTAztO8elPlKGqUnnffA2KDcdl1HNGPwq0Jw5d7KZkqr7h7_yWZAL6a_QAQEJ0YY7TYFBwcX1vxLbGrl3sOn0_Hv-tNrAb3XOv0mbAV6gNns8Ty_ZnuE2pxkVVKw37BM-XM8Vtj4XKb9I42hRjDiaw3Q4vVasdggs7SFVjY8TMRvVn_eSSPqRS1GzIMFVKMWfDzS3eEtn2gLhJ3GUvEZ74bZQiOw6GlvyVcCdlZ3HpcSJlQTgsnt7XNtmY75OEf273MRrb1HZuertw0_KhbD9fCQlS4pyr-dIpuWTaxrrN7bQbyEjGOsHzxEVFFNh2cC6ioSoJdCpmEv3467FwUPzqF4Xk2762UmME_M6owSYj8TZFRV02fRqv3yJY4KwTGLOod2opKU7AlqL5UNErJNIYtsnFzwnoCT9Tw4c5XZGt6hekZqqRexT7irqqGu-M_qmiOfLyF4txfKgJfPLH_Qm2GjQqHhDFZ7DFBuUPYhNbh3j6hpkU4tL1dllZMqQPR1aia7yOY-*0CEb7aU16xIFT_n53t9bNg2n92C6t1OeKg3sA_3XY5dcyQNVtsycazQ6yiEhfFpGFbkaRsC9wFJaEjMlzS54DjpSNLFsz-5LiOahYLHohlpERAbsISoWEASsIQAzeQsQoCckj8IdPVo0FuH_QmiYvk",
        "display_at": "2019-06-04 11:08:59",
        "credit": {
            "amount_general": 1,
            "amount_positive": "1",
            "amount_negative": "1",
            "amount_percent_usage": "79.49",
            "amount_basic": "1",
            "amount_professional": "1",
            "amount_advanced": "1",
            "amount_relay": 0
        },
        "limit": {
            "id": 1,
            "client_id": 1,
            "domains": 5,
            "domain_user_account": 25,
            "created_at": "2018-12-17 15:29:54",
            "updated_at": "2018-12-17 15:29:54",
            "display_at": "2019-06-04 11:09:02"
        },
        "application": {
            "APP_USES_CREDITS": true,
            "APP_HAS_LIMITS": true
        }
    }
}

Request      

POST api/token/generate

Body Parameters

name  string optional  
NOME DA CHAVE DE API. Ex: MinhaAPI

Auth\Api\tokens

Lista CHAVES de API de um Usuário logado.

alt text

REQUISIÇÃO NÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/token/tokens',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/token/tokens" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/token/tokens"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/token/tokens'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": [
        {
            "id": "e534e5389eb529116c5defe6e799efc362ci500216d53864df09b84aa5906e97c3185bb2b8902212",
            "name": "API-MinhaAPI",
            "expires_at": {
                "date": "2020-06-04 11:25:16.000000",
                "timezone_type": 3,
                "timezone": "America\/Sao_Paulo"
            }
        },
        {
            "id": "cc2ecd4a733f5949ad2e94cb606d2ca606ac27860c31b5e1aa99f7eb9c6d8c13199407634c3899a1",
            "name": "API-MinhaAPI (2)",
            "expires_at": {
                "date": "2020-06-04 11:08:57.000000",
                "timezone_type": 3,
                "timezone": "America\/Sao_Paulo"
            }
        }
    ]
}

Request      

GET api/token/tokens

Auth\Api\revoke

Revoga uma CHAVE de API.

alt text

REQUISIÇÃO NÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/token/revoke/{token_id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'token_id'=> 'aut',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/token/revoke/{token_id}?token_id=aut" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/token/revoke/{token_id}"
);

let params = {
    "token_id": "aut",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/token/revoke/{token_id}'
params = {
  'token_id': 'aut',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": "e534e5389eb529116c5defe6e799efc362ci500216d53864df09b84aa5906e97c3185bb2b8902212",
        "user_id": 1,
        "client_id": 1,
        "name": "API-MinhaAPI",
        "scopes": [],
        "revoked": true,
        "created_at": "2019-06-04 11:08:57",
        "updated_at": "2019-06-04 11:08:57",
        "expires_at": "2020-06-04 11:08:57"
    }
}

Request      

DELETE api/token/revoke/{token_id}

Query Parameters

token_id  string optional  
ID DO TOKEN. Ex: e534e5389eb529116c5defe6e799efc362ci500216d53864df09b84aa5906e97c3185bb2b8902212

Panel\Addressbook\Addressbook

Gerenciamento de LISTAS DE CONTATOS.

Panel\Addressbook\Addressbook\index

Lista todos as LISTAS DE CONTATOS criadas.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/addressbook',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'libero',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/addressbook?search=libero" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/addressbook"
);

let params = {
    "search": "libero",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/addressbook'
params = {
  'search': 'libero',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {
            "id": 1,
            "client_id": 1,
            "name": "Primeira Lista de Contatos",
            "deleted_at": null,
            "created_at": "2019-06-07 09:14:05",
            "updated_at": "2019-06-07 09:14:05",
            "display_at": "2019-06-07 09:33:07"
        }
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/addressbook

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

Panel\Addressbook\Addressbook\contacts

Lista todos ao CONTATOS de uma LISTAS DE CONTATOS.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/addressbook/{id}/contacts',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'quia',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/addressbook/{id}/contacts?id=quia" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/addressbook/{id}/contacts"
);

let params = {
    "id": "quia",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/addressbook/{id}/contacts'
params = {
  'id': 'quia',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {
            "id": 1,
            "client_id": 1,
            "name": "Primeira Lista de Contatos",
            "deleted_at": null,
            "created_at": "2019-06-07 09:14:05",
            "updated_at": "2019-06-07 09:14:05",
            "display_at": "2019-06-07 09:33:07"
        }
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/addressbook/{id}/contacts

Query Parameters

id  string  
ID DA LISTA DE CONTATOS. Ex: 1

Panel\Addressbook\Addressbook\store

Faz o cadastro de uma nova LISTA DE CONTATOS.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/addressbook',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'corporis',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/addressbook" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"corporis"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/addressbook"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "corporis"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/addressbook'
payload = {
    "name": "corporis"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/addressbook

Body Parameters

name  string  
NOME DA LISTA DE CONTATOS. Ex: Lista de Cliente

Panel\Addressbook\Addressbook\show

Mostra detalhes de uma LISTA DE CONTATOS.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/addressbook/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'dicta',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/addressbook/{id}?id=dicta" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/addressbook/{id}"
);

let params = {
    "id": "dicta",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/addressbook/{id}'
params = {
  'id': 'dicta',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "user_id": 1,
        "addressbook_id": null,
        "email": "maikel@maiptrap.io",
        "domain": "maiptrap.io",
        "name": "maikel",
        "subscribe_status": "optin",
        "identifier": null,
        "phone1": null,
        "phone2": null,
        "address": null,
        "birthday": null,
        "cpf": null,
        "field1": null,
        "field2": null,
        "field3": null,
        "engagement": 0,
        "openings": 0,
        "registration": "panel",
        "is_valid": "yes",
        "deleted_at": null,
        "created_at": "2019-06-04 17:31:05",
        "updated_at": "2019-06-04 17:31:05",
        "display_at": "2019-06-04 17:54:16",
        "addressbook": null
    }
}

Request      

GET api/panel/addressbook/{id}

Query Parameters

id  string  
ID DA LISTA DE CONTATOS. Ex: 1

Panel\Addressbook\Addressbook\update

Atualiza detalhes de uma LISTA DE CONTATOS.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/addressbook/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'neque',
        ],
        'json' => [
            'name' => 'est',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/addressbook/{id}?id=neque" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"est"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/addressbook/{id}"
);

let params = {
    "id": "neque",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "est"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/addressbook/{id}'
payload = {
    "name": "est"
}
params = {
  'id': 'neque',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "user_id": 1,
        "addressbook_id": null,
        "email": "maikel@maiptrap.io",
        "domain": "maiptrap.io",
        "name": "maikel",
        "subscribe_status": "optin",
        "identifier": null,
        "phone1": null,
        "phone2": null,
        "address": null,
        "birthday": null,
        "cpf": null,
        "field1": null,
        "field2": null,
        "field3": null,
        "engagement": 0,
        "openings": 0,
        "registration": "panel",
        "is_valid": "yes",
        "deleted_at": null,
        "created_at": "2019-06-04 17:31:05",
        "updated_at": "2019-06-04 17:31:05",
        "display_at": "2019-06-04 17:54:16",
        "addressbook": null
    }
}

Request      

PUT api/panel/addressbook/{id}

Query Parameters

id  string  
ID DO CLIENTE. Ex: 1

Body Parameters

name  string  
NOME DA LISTA DE CONTATOS. Ex: Lista de Cliente

Panel\Addressbook\Addressbook\destroy

Remove uma LISTA DE CONTATOS.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/addressbook/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'voluptas',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/addressbook/{id}?id=voluptas" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/addressbook/{id}"
);

let params = {
    "id": "voluptas",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/addressbook/{id}'
params = {
  'id': 'voluptas',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "name": "Minha Lista",
        "deleted_at": {
            "date": "2019-06-07 09:59:51.987497",
            "timezone_type": 3,
            "timezone": "America\/Sao_Paulo"
        },
        "created_at": "2019-06-07 09:39:22",
        "updated_at": "2019-06-07 09:59:51",
        "contacts_count": 0,
        "display_at": "2019-06-07 09:59:52"
    }
}

Request      

DELETE api/panel/addressbook/{id}

Query Parameters

id  string  
ID DO CLIENTE. Ex: 1

Panel\Analytic\Report\Index

Gestão de Créditos do Serviço.

Panel\Analytic\Report\Index\index

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/analytic/report',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/analytic/report" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/analytic/report"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/analytic/report'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/analytic/report

Panel\Analytic\Report\Index\store

Gera um novo Report.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/analytic/report',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'smtp_id' => 'consequatur',
            'account_id' => 'sunt',
            'name' => 'Report Data One',
            'slug' => 'iporto:analytic:report:SendIndexDataBounce',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/analytic/report" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"smtp_id":"consequatur","account_id":"sunt","name":"Report Data One","slug":"iporto:analytic:report:SendIndexDataBounce"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/analytic/report"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "smtp_id": "consequatur",
    "account_id": "sunt",
    "name": "Report Data One",
    "slug": "iporto:analytic:report:SendIndexDataBounce"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/analytic/report'
payload = {
    "smtp_id": "consequatur",
    "account_id": "sunt",
    "name": "Report Data One",
    "slug": "iporto:analytic:report:SendIndexDataBounce"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/analytic/report

Body Parameters

smtp_id  string optional  
ID DO SMTP.

account_id  string optional  
ID DA CONTA DE SMTP.

name  string  
NOME DO RELATÓRIO.

slug  string  
TIPO DE RELATÓRIO QUE SERÁ GERADO.

Panel\Analytic\Report\Index\index

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/analytic/report/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'esse',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/analytic/report/{id}?id=esse" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/analytic/report/{id}"
);

let params = {
    "id": "esse",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/analytic/report/{id}'
params = {
  'id': 'esse',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/analytic/report/{id}

Query Parameters

id  string optional  
ID DO REPORT.

Panel\Contact\Contact

Gerenciamento de CONTATOS.

Panel\Contact\Contact\index

Lista todos as LISTAS DE CONTATOS criadas.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'numquam',
            'available_type'=> 'magnam',
            'addressbook_id'=> 'et',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/contact?search=numquam&available_type=magnam&addressbook_id=et" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/contact"
);

let params = {
    "search": "numquam",
    "available_type": "magnam",
    "addressbook_id": "et",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/contact'
params = {
  'search': 'numquam',
  'available_type': 'magnam',
  'addressbook_id': 'et',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/contact

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

available_type  string optional  
CAMPO DE BUSCA ATRAVÉS DO TIPO DE EMAIL valid|invalid.

addressbook_id  string optional  
CAMPO DE BUSCA ID DE LISTA DE CONTATOS.

Panel\Contact\Contact\show

Mostra detalhes de um CONTATO.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/contact/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'eligendi',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/contact/{id}?id=eligendi" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/contact/{id}"
);

let params = {
    "id": "eligendi",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/contact/{id}'
params = {
  'id': 'eligendi',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/contact/{id}

Query Parameters

id  string  
ID DO CONTATO. Ex: 1

Panel\Contact\Contact\store

Faz o cadastro de um novo CONTATO em uma LISTA DE CONTATOS.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'addressbook_id' => 'consequatur',
            'name' => 'consequatur',
            'email' => 'dolorem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/contact" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"addressbook_id":"consequatur","name":"consequatur","email":"dolorem"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/contact"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "addressbook_id": "consequatur",
    "name": "consequatur",
    "email": "dolorem"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/contact'
payload = {
    "addressbook_id": "consequatur",
    "name": "consequatur",
    "email": "dolorem"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/contact

Body Parameters

addressbook_id  string  
ID DA LISTA DE CONTATOS. Ex: 1

name  string  
NOME DO CONTATO. Ex: Frederico

email  string  
EMAIL DO CONTATO. Ex: dev@iporto.io

Panel\Contact\Contact\update

Atualiza detalhes de um CONTATO.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/contact/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'ducimus',
        ],
        'json' => [
            'name' => 'et',
            'addressbook_id' => 'rem',
            'email' => 'est',
            'subscribe_status' => 'quis',
            'identifier' => 'omnis',
            'phone1' => 'velit',
            'phone2' => 'dolorum',
            'address' => 'omnis',
            'birthday' => 'sapiente',
            'cpf' => 'sit',
            'field1' => 'consequuntur',
            'field2' => 'qui',
            'field3' => 'corrupti',
            'registration' => 'at',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/contact/{id}?id=ducimus" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"et","addressbook_id":"rem","email":"est","subscribe_status":"quis","identifier":"omnis","phone1":"velit","phone2":"dolorum","address":"omnis","birthday":"sapiente","cpf":"sit","field1":"consequuntur","field2":"qui","field3":"corrupti","registration":"at"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/contact/{id}"
);

let params = {
    "id": "ducimus",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "et",
    "addressbook_id": "rem",
    "email": "est",
    "subscribe_status": "quis",
    "identifier": "omnis",
    "phone1": "velit",
    "phone2": "dolorum",
    "address": "omnis",
    "birthday": "sapiente",
    "cpf": "sit",
    "field1": "consequuntur",
    "field2": "qui",
    "field3": "corrupti",
    "registration": "at"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/contact/{id}'
payload = {
    "name": "et",
    "addressbook_id": "rem",
    "email": "est",
    "subscribe_status": "quis",
    "identifier": "omnis",
    "phone1": "velit",
    "phone2": "dolorum",
    "address": "omnis",
    "birthday": "sapiente",
    "cpf": "sit",
    "field1": "consequuntur",
    "field2": "qui",
    "field3": "corrupti",
    "registration": "at"
}
params = {
  'id': 'ducimus',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/contact/{id}

Query Parameters

id  string  
ID DO CONTATO. Ex: 1

Body Parameters

name  string  
NOME. Ex:

addressbook_id  string  
LISTA DE CONTATOS. Ex:

email  string  
EMAIL. Ex:

subscribe_status  string  
STATUS DE INSCRIÇÃO ('optin','optout','double_optin','lead'). Ex:

identifier  string  
ID. Ex:

phone1  string  
TELEFONE. Ex:

phone2  string  
TELEFONE. Ex:

address  string  
ENDEREÇO. Ex:

birthday  string  
DATA DE ANIVERSÁRIO. Ex:

cpf  string  
CPF. Ex:

field1  string  
CAMPO ADICIONAL. Ex:

field2  string  
CAMPO ADICIONAL. Ex:

field3  string  
CAMPO ADICIONAL. Ex:

registration  string  
TIPO DE REGISTRO ('panel', 'form', 'upload'). Ex:

Panel\Contact\Log

Gerenciamento de CONTATOS.

Panel\Contact\Log\index

Lista.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/contact/{contact_id}/log',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'contact_id'=> 'dolores',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/contact/{contact_id}/log?contact_id=dolores" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/contact/{contact_id}/log"
);

let params = {
    "contact_id": "dolores",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/contact/{contact_id}/log'
params = {
  'contact_id': 'dolores',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/contact/{contact_id}/log

Query Parameters

contact_id  string optional  

Panel\Credit\Credit

Gestão de Créditos do Serviço.

Panel\Credit\Credit\index

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/credit',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/credit" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/credit"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/credit'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/credit

Panel\Credit\Credit\availability

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/credit/availability',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/credit/availability" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/credit/availability"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/credit/availability'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/credit/availability

Panel\Credit\Credit\usage

Mostra os dados para report na Credit.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/credit/usage',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/credit/usage" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/credit/usage"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/credit/usage'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/credit/usage

Panel\Metric\Metric

Gerenciamento de MÉTRICAS.

Panel\Webhook\Email\show

Mostra.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/metric',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'start_at'=> 'et',
            'until_at'=> 'reiciendis',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/metric?start_at=et&until_at=reiciendis" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/metric"
);

let params = {
    "start_at": "et",
    "until_at": "reiciendis",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/metric'
params = {
  'start_at': 'et',
  'until_at': 'reiciendis',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/metric

Query Parameters

start_at  string optional  
DATA INICIAL DE BUSCA.

until_at  string optional  
DATA FINAL DE BUSCA.

Panel\Notification\Configuration

Gerenciamento de Pkg: MARKETING. Email

Panel\Notification\Configuration\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/notification/configuration',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/notification/configuration" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/notification/configuration"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/notification/configuration'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/notification/configuration

Panel\Notification\Configuration\actions

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/notification/configuration/action',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/notification/configuration/action" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/notification/configuration/action"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/notification/configuration/action'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/notification/configuration/action

Panel\Notification\Configuration\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/notification/configuration',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'slug' => 'CREDIT_USAGE',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/notification/configuration" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"slug":"CREDIT_USAGE"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/notification/configuration"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "slug": "CREDIT_USAGE"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/notification/configuration'
payload = {
    "slug": "CREDIT_USAGE"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/notification/configuration

Body Parameters

slug  string  
SLUG DE NOTIFICAÇÃO.

Panel\Notification\Configuration\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/notification/configuration/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/notification/configuration/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/notification/configuration/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/notification/configuration/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/notification/configuration/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Notification\Configuration\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/notification/configuration/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/notification/configuration/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/notification/configuration/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/notification/configuration/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/notification/configuration/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Notification\Configuration\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/notification/configuration',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/notification/configuration?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/notification/configuration"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/notification/configuration'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/notification/configuration

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Event\Event

Gerenciamento de Pkg: AUTOMAÇÕES.

Panel\Pkg\Automation\Event\Event\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/event',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'ea',
            'status'=> 'autem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/event?search=ea&status=autem" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/event"
);

let params = {
    "search": "ea",
    "status": "autem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/event'
params = {
  'search': 'ea',
  'status': 'autem',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/automation/event

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Automation\Event\Event\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/event/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/event/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/event/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/event/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/automation/event/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Template\Template

Gerenciamento de Pkg: AUTOMAÇÕES.

Panel\Pkg\Automation\Template\Template\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/template',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'perspiciatis',
            'status'=> 'quidem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/template?search=perspiciatis&status=quidem" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/template"
);

let params = {
    "search": "perspiciatis",
    "status": "quidem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/template'
params = {
  'search': 'perspiciatis',
  'status': 'quidem',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/automation/template

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Automation\Template\Template\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/template/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/template/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/template/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/template/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/automation/template/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Workflow\Contact\Contact

Gerenciamento de Pkg: AUTOMAÇÕES. Workflow

Panel\Pkg\Automation\Workflow\Contact\Contact\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'eaque',
            'status'=> 'quidem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact?search=eaque&status=quidem" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact"
);

let params = {
    "search": "eaque",
    "status": "quidem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact'
params = {
  'search': 'eaque',
  'status': 'quidem',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/automation/workflow/{workflow_id}/contact

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Automation\Workflow\Contact\Contact\show

Mostra um ITEM.

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Workflow\Contact\Contact\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/automation/workflow/{workflow_id}/contact/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Workflow\Contact\Event

Gerenciamento de Pkg: AUTOMAÇÕES. Workflow

Panel\Pkg\Automation\Workflow\Contact\Event\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{contact_id}/event',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'quia',
            'status'=> 'dolor',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{contact_id}/event?search=quia&status=dolor" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{contact_id}/event"
);

let params = {
    "search": "quia",
    "status": "dolor",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/contact/{contact_id}/event'
params = {
  'search': 'quia',
  'status': 'dolor',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/automation/workflow/{workflow_id}/contact/{contact_id}/event

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Automation\Workflow\Filter\Date

Gerenciamento de Pkg: AUTOMAÇÕES. Workflow

Panel\Pkg\Automation\Workflow\Filter\Date\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'sint',
            'status'=> 'veniam',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date?search=sint&status=veniam" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date"
);

let params = {
    "search": "sint",
    "status": "veniam",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date'
params = {
  'search': 'sint',
  'status': 'veniam',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/automation/workflow/{workflow_id}/filter/date

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Automation\Workflow\Filter\Date\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'workflow_id' => '1',
            'date' => '17/02/1984',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"workflow_id":"1","date":"17\/02\/1984"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "workflow_id": "1",
    "date": "17\/02\/1984"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date'
payload = {
    "workflow_id": "1",
    "date": "17\/02\/1984"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):


{
 "data": {
 "id": 1,
 }
}

Request      

POST api/panel/pkg/automation/workflow/{workflow_id}/filter/date

Body Parameters

workflow_id  string  
ID DO FLUXO.

date  string  
DATA DO FLUXO EXCLUÍDO.

Panel\Pkg\Automation\Workflow\Filter\Date\show

Mostra um ITEM.

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Workflow\Filter\Date\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/automation/workflow/{workflow_id}/filter/date/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Workflow\Flow

Gerenciamento de Pkg: AUTOMAÇÕES. Workflow

Panel\Pkg\Automation\Workflow\Flow\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'workflow_id'=> '1',
        ],
        'json' => [
            'event_slug' => 'AddressbookContactSubscription',
            'event_data' => '"{}"',
            'flow_type' => 'neutral',
            'parent_id' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow?workflow_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"event_slug":"AddressbookContactSubscription","event_data":"\"{}\"","flow_type":"neutral","parent_id":"1"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow"
);

let params = {
    "workflow_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "event_slug": "AddressbookContactSubscription",
    "event_data": "\"{}\"",
    "flow_type": "neutral",
    "parent_id": "1"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow'
payload = {
    "event_slug": "AddressbookContactSubscription",
    "event_data": "\"{}\"",
    "flow_type": "neutral",
    "parent_id": "1"
}
params = {
  'workflow_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):


{
 "data": {
     "id": 1,
     "client_id": 1,
     "name": "Automação de Compra",
     "description": "-",
     "from_email": "dev@iporto.io",
     "from_name": "Frederido",
     "perform_run": "once_time",
     "status": "active",
     "created_at": "2019-06-18 18:51:45",
     "updated_at": "2019-06-18 18:51:45",
     "deleted_at": null,
     "display_at": "2019-06-18 18:51:45"
         "trigger": {
             "id": 1,
             "client_id": 2,
             "event_id": 1,
             "workflow_id": 1,
             "addressbook_id": 1,
             "object_id": null,
             "object_type": "",
             "trigger_type": "once_time",
             "name": "Gatilho por Nova Inscrição",
             "created_at": "2019-06-19 15:32:14",
             "updated_at": "2019-06-19 15:32:14",
             "display_at": "2019-06-19 17:01:19"
         }
 }
}

Request      

POST api/panel/pkg/automation/workflow/{workflow_id}/flow

Query Parameters

workflow_id  string  
ID DO DA AUTOMAÇÃO.

Body Parameters

event_slug  string  
NOME.

event_data  string  
CONTEÚDO, JSON, DO FLUXO.

flow_type  string  
TIPO DE FLUXO (positive,negative,neutral).

parent_id  string  
ID DO FLUXO PAI.

Panel\Pkg\Automation\Workflow\Flow\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'workflow_id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow?workflow_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow"
);

let params = {
    "workflow_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow'
params = {
  'workflow_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "name": "Automação de Compra",
        "description": "-",
        "from_email": "dev@iporto.io",
        "from_name": "Frederido",
        "perform_run": "once_time",
        "status": "active",
        "created_at": "2019-06-18 19:56:10",
        "updated_at": "2019-06-18 19:56:10",
        "deleted_at": null,
        "display_at": "2019-06-19 17:21:12",
        "trigger": {
            "id": 1,
            "client_id": 1,
            "event_id": 1,
            "workflow_id": 1,
            "addressbook_id": null,
            "object_id": null,
            "object_type": "",
            "event_slug": "AddressbookContactSubscription",
            "name": "Gatilho por Nova Inscrição",
            "created_at": "2019-06-19 17:20:49",
            "updated_at": "2019-06-19 17:20:49",
            "display_at": "2019-06-19 17:21:12"
        }
    }
}

Request      

GET api/panel/pkg/automation/workflow/{workflow_id}/flow

Query Parameters

workflow_id  string  
ID DO DA AUTOMAÇÃO.

Panel\Pkg\Automation\Workflow\Flow\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'workflow_id'=> '1',
        ],
        'json' => [
            'addressbook_id' => '1',
            'object_id' => 'NULL',
            'object_type' => 'Panel\\Service\\Addressbook\\Contact',
            'name' => 'Gatilho por Nova Inscrição',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}?workflow_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"addressbook_id":"1","object_id":"NULL","object_type":"Panel\\Service\\Addressbook\\Contact","name":"Gatilho por Nova Inscri\u00e7\u00e3o"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}"
);

let params = {
    "workflow_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "addressbook_id": "1",
    "object_id": "NULL",
    "object_type": "Panel\\Service\\Addressbook\\Contact",
    "name": "Gatilho por Nova Inscri\u00e7\u00e3o"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}'
payload = {
    "addressbook_id": "1",
    "object_id": "NULL",
    "object_type": "Panel\\Service\\Addressbook\\Contact",
    "name": "Gatilho por Nova Inscri\u00e7\u00e3o"
}
params = {
  'workflow_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "name": "Automação de Compra",
        "description": "-",
        "from_email": "dev@iporto.io",
        "from_name": "Frederido",
        "perform_run": "once_time",
        "status": "active",
        "created_at": "2019-06-18 18:51:45",
        "updated_at": "2019-06-18 18:51:45",
        "deleted_at": null,
        "display_at": "2019-06-18 18:51:45"
    }
}

Request      

PUT api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}

Query Parameters

workflow_id  string  
ID DO DA AUTOMAÇÃO.

Body Parameters

addressbook_id  string optional  
ID DA LISTA DE CONTATOS.

object_id  string optional  
ID DO OBJETO RELACIONADO.

object_type  string optional  
TIPO DO OBJETO RELACIONADO.

name  string  
NOME DA TRIGGER.

Panel\Pkg\Automation\Workflow\Flow\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "name": "Automação de Compra",
        "description": "-",
        "from_email": "dev@iporto.io",
        "from_name": "Frederido",
        "perform_run": "once_time",
        "status": "active",
        "created_at": "2019-06-18 18:51:45",
        "updated_at": "2019-06-18 18:52:43",
        "deleted_at": {
            "date": "2019-06-18 18:52:43.511439",
            "timezone_type": 3,
            "timezone": "America\/Sao_Paulo"
        },
        "display_at": "2019-06-18 18:52:43"
    }
}

Request      

DELETE api/panel/pkg/automation/workflow/{workflow_id}/flow/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Workflow\Workflow

Gerenciamento de Pkg: AUTOMAÇÕES. Workflow

Panel\Pkg\Automation\Workflow\Workflow\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'quo',
            'status'=> 'provident',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow?search=quo&status=provident" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow"
);

let params = {
    "search": "quo",
    "status": "provident",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow'
params = {
  'search': 'quo',
  'status': 'provident',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {
            "id": 1,
            "client_id": 1,
            "smtp_account_id": 1,
            "name": "Automação de Compra",
            "description": "-",
            "perform_run": "once_time",
            "status": "active",
            "created_at": "2019-06-18 18:49:28",
            "updated_at": "2019-06-18 18:49:28",
            "deleted_at": null,
            "display_at": "2019-06-18 18:49:44"
        }
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/automation/workflow

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Automation\Workflow\Workflow\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'smtp_account_id' => '1',
            'name' => 'Automação de Compra',
            'description' => '-',
            'perform_run' => 'once_time',
            'status' => 'active',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"smtp_account_id":"1","name":"Automa\u00e7\u00e3o de Compra","description":"-","perform_run":"once_time","status":"active"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "smtp_account_id": "1",
    "name": "Automa\u00e7\u00e3o de Compra",
    "description": "-",
    "perform_run": "once_time",
    "status": "active"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow'
payload = {
    "smtp_account_id": "1",
    "name": "Automa\u00e7\u00e3o de Compra",
    "description": "-",
    "perform_run": "once_time",
    "status": "active"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "smtp_account_id": 1,
        "name": "Automação de Compra",
        "description": "-",
        "perform_run": "once_time",
        "status": "active",
        "created_at": "2019-06-18 18:51:45",
        "updated_at": "2019-06-18 18:51:45",
        "deleted_at": null,
        "display_at": "2019-06-18 18:51:45"
    }
}

Request      

POST api/panel/pkg/automation/workflow

Body Parameters

smtp_account_id  string  
ID DA CONTA DE SMTP QUE SERÁ UTILIZADO PARA AUTENTICAR OS ENVIOS.

name  string  
NOME.

description  string  
DESCRIÇÃO.

perform_run  string  
QUANDO SERÁ EXECUTADA AUTOMAÇÃO, POR CONTATO (once_time,multiple_times).

status  string  
STATUS (draft,active,inactive).

Panel\Pkg\Automation\Workflow\Workflow\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "smtp_account_id": 1,
        "name": "Automação de Compra",
        "description": "-",
        "perform_run": "once_time",
        "status": "active",
        "created_at": "2019-06-18 18:51:45",
        "updated_at": "2019-06-18 18:51:45",
        "deleted_at": null,
        "display_at": "2019-06-18 18:51:45"
    }
}

Request      

GET api/panel/pkg/automation/workflow/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Automation\Workflow\Workflow\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
        'json' => [
            'smtp_account_id' => '1',
            'name' => 'Automação de Compra',
            'description' => '-',
            'perform_run' => 'once_time',
            'status' => 'active',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"smtp_account_id":"1","name":"Automa\u00e7\u00e3o de Compra","description":"-","perform_run":"once_time","status":"active"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "smtp_account_id": "1",
    "name": "Automa\u00e7\u00e3o de Compra",
    "description": "-",
    "perform_run": "once_time",
    "status": "active"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}'
payload = {
    "smtp_account_id": "1",
    "name": "Automa\u00e7\u00e3o de Compra",
    "description": "-",
    "perform_run": "once_time",
    "status": "active"
}
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "smtp_account_id": 1,
        "name": "Automação de Compra",
        "description": "-",
        "perform_run": "once_time",
        "status": "active",
        "created_at": "2019-06-18 18:51:45",
        "updated_at": "2019-06-18 18:51:45",
        "deleted_at": null,
        "display_at": "2019-06-18 18:51:45"
    }
}

Request      

PUT api/panel/pkg/automation/workflow/{id}

Query Parameters

id  string  
ID DO ITEM.

Body Parameters

smtp_account_id  string  
ID DA CONTA DE SMTP QUE SERÁ UTILIZADO PARA AUTENTICAR OS ENVIOS.

name  string  
NOME.

description  string  
DESCRIÇÃO.

perform_run  string  
QUANDO SERÁ EXECUTADA AUTOMAÇÃO, POR CONTATO (once_time,multiple_times).

status  string  
STATUS (draft,active,inactive).

Panel\Pkg\Automation\Workflow\Workflow\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/automation/workflow/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "smtp_account_id": 1,
        "name": "Automação de Compra",
        "description": "-",
        "perform_run": "once_time",
        "status": "active",
        "created_at": "2019-06-18 18:51:45",
        "updated_at": "2019-06-18 18:52:43",
        "deleted_at": {
            "date": "2019-06-18 18:52:43.511439",
            "timezone_type": 3,
            "timezone": "America\/Sao_Paulo"
        },
        "display_at": "2019-06-18 18:52:43"
    }
}

Request      

DELETE api/panel/pkg/automation/workflow/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\EmailValidation\Http\Email

Validação de EMAIL.

Panel\Pkg\EmailValidation\Http\check

Verifica se um EMAIL é válido para recebimento de envios.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/email-validation/http/check',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'email'=> 'dev@iporto.io',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/email-validation/http/check?email=dev%40iporto.io" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/email-validation/http/check"
);

let params = {
    "email": "dev@iporto.io",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/email-validation/http/check'
params = {
  'email': 'dev@iporto.io',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "email": "dev@iporto.io",
        "is_valid": 1
    }
}

Request      

GET api/panel/pkg/email-validation/http/check

Query Parameters

email  string  
EMAIL QUE SERÁ VALIDADO/VERIFICADO.

Panel\Pkg\EmailValidation\Upload\File

Gerenciamento de Pkg: VALIDADOR DE EMAILS. File

Panel\Pkg\EmailValidation\Upload\File\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/email-validation/upload',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'et',
            'status'=> 'libero',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/email-validation/upload?search=et&status=libero" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/email-validation/upload"
);

let params = {
    "search": "et",
    "status": "libero",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/email-validation/upload'
params = {
  'search': 'et',
  'status': 'libero',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/email-validation/upload

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\EmailValidation\Upload\File\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/email-validation/upload',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'addressbook_id' => '1',
            'name' => 'NPS nossa Empresa',
            'description' => 'voluptatem',
            'company' => 'maiores',
            'is_public' => 'yes',
            'is_toten' => 'yes',
            'status' => 'active',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/email-validation/upload" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"addressbook_id":"1","name":"NPS nossa Empresa","description":"voluptatem","company":"maiores","is_public":"yes","is_toten":"yes","status":"active"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/email-validation/upload"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "addressbook_id": "1",
    "name": "NPS nossa Empresa",
    "description": "voluptatem",
    "company": "maiores",
    "is_public": "yes",
    "is_toten": "yes",
    "status": "active"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/email-validation/upload'
payload = {
    "addressbook_id": "1",
    "name": "NPS nossa Empresa",
    "description": "voluptatem",
    "company": "maiores",
    "is_public": "yes",
    "is_toten": "yes",
    "status": "active"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/email-validation/upload

Body Parameters

addressbook_id  string  
ID DA PESQUISA NPS.

name  string  
NOME.

description  string optional  
DESCRIÇÃO.

company  string optional  
NOME DA EMPRESA.

is_public  string optional  
SE A PESQUISA É PUBLICA (yes,no).

is_toten  string optional  
SE A PESQUISA SERÁ APLICADA EM UM TOTEN (yes,no).

status  string  
STATUS (draft,active,inactive).

Panel\Pkg\EmailValidation\Upload\Validation\Validation

Gerenciamento de Pkg: VALIDADOR DE EMAILS. Validação

Panel\Pkg\EmailValidation\Upload\Validation\Validation\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/email-validation/{upload_file_id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\EmailValidation\Upload\Validation\Validation\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/contact?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/contact"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/contact'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/email-validation/{upload_file_id}/contact

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\EmailValidation\Upload\Validation\Validation\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/again/if/unknow',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/again/if/unknow?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/again/if/unknow"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/again/if/unknow'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/email-validation/{upload_file_id}/again/if/unknow

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\EmailValidation\Upload\Validation\Validation\merge

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/merge',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'upload_file_id'=> '1',
        ],
        'json' => [
            'merge_type' => 'merge_and_keep_original',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/merge?upload_file_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"merge_type":"merge_and_keep_original"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/merge"
);

let params = {
    "upload_file_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "merge_type": "merge_and_keep_original"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/email-validation/{upload_file_id}/merge'
payload = {
    "merge_type": "merge_and_keep_original"
}
params = {
  'upload_file_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/email-validation/{upload_file_id}/merge

Query Parameters

upload_file_id  string  
ID DO ITEM.

Body Parameters

merge_type  TIPO optional  
DE JUNÇÃO (merge_and_keep_original|merge_and_remove_original).

Panel\Pkg\Form\Content\Field

Gerenciamento de Pkg: FORMULÁRIOS. Fields

Panel\Pkg\Form\Content\Field\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'form_id'=> '1',
        ],
        'json' => [
            'label' => 'Qual seu nome?',
            'required' => 'no',
            'field_type' => 'text',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}?form_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"label":"Qual seu nome?","required":"no","field_type":"text"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}"
);

let params = {
    "form_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "label": "Qual seu nome?",
    "required": "no",
    "field_type": "text"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}'
payload = {
    "label": "Qual seu nome?",
    "required": "no",
    "field_type": "text"
}
params = {
  'form_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/form/form/{form_id}

Query Parameters

form_id  string  
ID DO FORMULÁRIO QUE RECEBERÁ O FIELD.

Body Parameters

label  string  
LABEL/DESCRIÇÃO DO FIELD.

required  string  
SE O FIELD É REQUERIDO OU NÃO.

field_type  string  
TIPO DE FIELD (text,textarea,dropdown,email,phone,date,number,upload,payment,website,optionscale,rating).

Panel\Pkg\Form\Content\Field\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'form_id'=> '1',
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}?form_id=1&id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}"
);

let params = {
    "form_id": "1",
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}'
params = {
  'form_id': '1',
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/form/form/{form_id}/field/{id}

Query Parameters

form_id  string  
ID DO FORMULÁRIO QUE RECEBERÁ O FIELD.

id  string  
ID DO ITEM.

Panel\Pkg\Form\Content\Field\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'form_id'=> '1',
            'id'=> '1',
        ],
        'json' => [
            'label' => 'Qual seu nome?',
            'required' => 'no',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}?form_id=1&id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"label":"Qual seu nome?","required":"no"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}"
);

let params = {
    "form_id": "1",
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "label": "Qual seu nome?",
    "required": "no"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}'
payload = {
    "label": "Qual seu nome?",
    "required": "no"
}
params = {
  'form_id': '1',
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/pkg/form/form/{form_id}/field/{id}

Query Parameters

form_id  string  
ID DO FORMULÁRIO QUE RECEBERÁ O FIELD.

id  string  
ID DO ITEM.

Body Parameters

label  string  
LABEL/DESCRIÇÃO DO FIELD.

required  string  
SE O FIELD É REQUERIDO OU NÃO.

Panel\Pkg\Form\Content\Field\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'form_id'=> '1',
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}?form_id=1&id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}"
);

let params = {
    "form_id": "1",
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/field/{id}'
params = {
  'form_id': '1',
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/form/form/{form_id}/field/{id}

Query Parameters

form_id  string  
ID DO FORMULÁRIO QUE RECEBERÁ O FIELD.

id  string  
ID DO ITEM.

Panel\Pkg\Form\Form

Gerenciamento de Pkg: FORMULÁRIOS. Form

Panel\Pkg\Form\Form\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/form/form',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'dolor',
            'status'=> 'iste',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/form/form?search=dolor&status=iste" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form"
);

let params = {
    "search": "dolor",
    "status": "iste",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form'
params = {
  'search': 'dolor',
  'status': 'iste',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {
            "id": 1,
            "client_id": 1,
            "addressbook_id": 1,
            "name": "Formulário do E-book",
            "configurations": "{}",
            "style": "EKdU8OxA3Bt26z0S",
            "status": "active",
            "form_type": "inline",
            "created_at": "2019-07-17 15:35:57",
            "updated_at": "2019-07-17 15:35:57",
            "deleted_at": null,
            "display_at": "2019-07-17 15:35:58"
        }
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/form/form

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Form\Form\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/form/form',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'addressbook_id' => '1',
            'name' => 'Formulário do E-book',
            'configurations' => '{"pkg_form_content_property_title":"Receba nossas Ofertas","pkg_form_content_property_description":"Fique por dentro das novidades. Assine nossa lista de transmissão e fique sabendo antes de todos.","pkg_form_content_property_submit":"Inscrever-se"}',
            'style' => 'eum',
            'status' => 'active',
            'form_type' => 'inline',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/form/form" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"addressbook_id":"1","name":"Formul\u00e1rio do E-book","configurations":"{\"pkg_form_content_property_title\":\"Receba nossas Ofertas\",\"pkg_form_content_property_description\":\"Fique por dentro das novidades. Assine nossa lista de transmiss\u00e3o e fique sabendo antes de todos.\",\"pkg_form_content_property_submit\":\"Inscrever-se\"}","style":"eum","status":"active","form_type":"inline"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "addressbook_id": "1",
    "name": "Formul\u00e1rio do E-book",
    "configurations": "{\"pkg_form_content_property_title\":\"Receba nossas Ofertas\",\"pkg_form_content_property_description\":\"Fique por dentro das novidades. Assine nossa lista de transmiss\u00e3o e fique sabendo antes de todos.\",\"pkg_form_content_property_submit\":\"Inscrever-se\"}",
    "style": "eum",
    "status": "active",
    "form_type": "inline"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form'
payload = {
    "addressbook_id": "1",
    "name": "Formul\u00e1rio do E-book",
    "configurations": "{\"pkg_form_content_property_title\":\"Receba nossas Ofertas\",\"pkg_form_content_property_description\":\"Fique por dentro das novidades. Assine nossa lista de transmiss\u00e3o e fique sabendo antes de todos.\",\"pkg_form_content_property_submit\":\"Inscrever-se\"}",
    "style": "eum",
    "status": "active",
    "form_type": "inline"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "addressbook_id": 1,
        "name": "Formulário do E-book",
        "configurations": "{}",
        "style": "EKdU8OxA3Bt26z0S",
        "status": "active",
        "form_type": "inline",
        "created_at": "2019-07-17 15:35:57",
        "updated_at": "2019-07-17 15:35:57",
        "deleted_at": null,
        "display_at": "2019-07-17 15:35:58"
    }
}

Request      

POST api/panel/pkg/form/form

Body Parameters

addressbook_id  string  
ID DA CONTA LISTA DE CONTATOS QUE RECEBERÁ OS CONTATOS.

name  string  
NOME.

configurations  string optional  
JSON COM CONFIGURAÇÕES DO FORMULÁRIO.

style  string optional  
CSS/FOLHA DE ESTILO PARA APLICAR AO FORMULÁRIO.

status  string  
STATUS (draft,active,inactive).

form_type  string  
TIPO DE FORMULÁRIO (inline,popup).

Panel\Pkg\Form\Form\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/form/form/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "addressbook_id": 1,
        "name": "Formulário do E-book",
        "configurations": "{}",
        "style": "EKdU8OxA3Bt26z0S",
        "status": "active",
        "form_type": "inline",
        "created_at": "2019-07-17 15:35:57",
        "updated_at": "2019-07-17 15:35:57",
        "deleted_at": null,
        "display_at": "2019-07-17 15:35:58"
    }
}

Request      

GET api/panel/pkg/form/form/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Form\Form\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
        'json' => [
            'addressbook_id' => '1',
            'name' => 'Formulário do E-book',
            'configurations' => '{"pkg_form_content_property_title":"Receba nossas Ofertas","pkg_form_content_property_description":"Fique por dentro das novidades. Assine nossa lista de transmissão e fique sabendo antes de todos.","pkg_form_content_property_submit":"Inscrever-se"}',
            'style' => 'totam',
            'status' => 'active',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/form/form/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"addressbook_id":"1","name":"Formul\u00e1rio do E-book","configurations":"{\"pkg_form_content_property_title\":\"Receba nossas Ofertas\",\"pkg_form_content_property_description\":\"Fique por dentro das novidades. Assine nossa lista de transmiss\u00e3o e fique sabendo antes de todos.\",\"pkg_form_content_property_submit\":\"Inscrever-se\"}","style":"totam","status":"active"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "addressbook_id": "1",
    "name": "Formul\u00e1rio do E-book",
    "configurations": "{\"pkg_form_content_property_title\":\"Receba nossas Ofertas\",\"pkg_form_content_property_description\":\"Fique por dentro das novidades. Assine nossa lista de transmiss\u00e3o e fique sabendo antes de todos.\",\"pkg_form_content_property_submit\":\"Inscrever-se\"}",
    "style": "totam",
    "status": "active"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{id}'
payload = {
    "addressbook_id": "1",
    "name": "Formul\u00e1rio do E-book",
    "configurations": "{\"pkg_form_content_property_title\":\"Receba nossas Ofertas\",\"pkg_form_content_property_description\":\"Fique por dentro das novidades. Assine nossa lista de transmiss\u00e3o e fique sabendo antes de todos.\",\"pkg_form_content_property_submit\":\"Inscrever-se\"}",
    "style": "totam",
    "status": "active"
}
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "addressbook_id": 1,
        "name": "Formulário do E-book",
        "configurations": "{}",
        "style": "EKdU8OxA3Bt26z0S",
        "status": "active",
        "form_type": "inline",
        "created_at": "2019-07-17 15:35:57",
        "updated_at": "2019-07-17 15:35:57",
        "deleted_at": null,
        "display_at": "2019-07-17 15:35:58"
    }
}

Request      

PUT api/panel/pkg/form/form/{id}

Query Parameters

id  string  
ID DO ITEM.

Body Parameters

addressbook_id  string  
ID DA CONTA LISTA DE CONTATOS QUE RECEBERÁ OS CONTATOS.

name  string  
NOME.

configurations  string optional  
JSON COM CONFIGURAÇÕES DO FORMULÁRIO.

style  string optional  
CSS/FOLHA DE ESTILO PARA APLICAR AO FORMULÁRIO.

status  string  
STATUS (draft,active,inactive).

Panel\Pkg\Form\Form\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/form/form/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "addressbook_id": 1,
        "name": "Formulário do E-book",
        "configurations": "{}",
        "style": "EKdU8OxA3Bt26z0S",
        "status": "active",
        "form_type": "inline",
        "created_at": "2019-07-17 15:42:51",
        "updated_at": "2019-07-17 15:43:13",
        "deleted_at": {
            "date": "2019-07-17 15:43:13.396007",
            "timezone_type": 3,
            "timezone": "America\/Sao_Paulo"
        },
        "display_at": "2019-07-17 15:43:14"
    }
}

Request      

DELETE api/panel/pkg/form/form/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Form\Form\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{id}/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/form/form/{id}/contact?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{id}/contact"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{id}/contact'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/form/form/{id}/contact

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Form\Page\Thankyou

Gerenciamento de Pkg: FORMULÁRIOS. Page Thankyou

api/panel/pkg/form/form/{form_id}/page/thankyou/{id}

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/page/thankyou/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/page/thankyou/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/page/thankyou/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/form/form/{form_id}/page/thankyou/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers)
response.json()

Request      

PUT api/panel/pkg/form/form/{form_id}/page/thankyou/{id}

Panel\Pkg\Hook\Email\Birthday\Configuration

Gerenciamento de Hook para Email de Aniversário.

Panel\Pkg\Hook\Email\Birthday\Configuration\store

Cria.

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/hook/email/birthday',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'phone_from'=> 'est',
            'phone_to'=> 'accusamus',
            'message_body'=> 'autem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/hook/email/birthday?phone_from=est&phone_to=accusamus&message_body=autem" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/hook/email/birthday"
);

let params = {
    "phone_from": "est",
    "phone_to": "accusamus",
    "message_body": "autem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/hook/email/birthday'
params = {
  'phone_from': 'est',
  'phone_to': 'accusamus',
  'message_body': 'autem',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

POST api/panel/pkg/hook/email/birthday

Query Parameters

phone_from  string optional  

phone_to  string optional  

message_body  string optional  

Panel\Pkg\Hook\Email\Birthday\Configuration\show

Mostra

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/hook/email/birthday',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'qui',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/hook/email/birthday?id=qui" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/hook/email/birthday"
);

let params = {
    "id": "qui",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/hook/email/birthday'
params = {
  'id': 'qui',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/hook/email/birthday

Query Parameters

id  string optional  

Panel\Pkg\Hook\Email\Birthday\Configuration\update

Atualiza

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/hook/email/birthday',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'qui',
        ],
        'json' => [
            'smtp_account_id' => 'quisquam',
            'email_from_name' => 'aut',
            'email_from_mail' => 'in',
            'email_subject' => 'quo',
            'email_content' => 'qui',
            'birthday_configuration_status' => 'doloremque',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/hook/email/birthday?id=qui" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"smtp_account_id":"quisquam","email_from_name":"aut","email_from_mail":"in","email_subject":"quo","email_content":"qui","birthday_configuration_status":"doloremque"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/hook/email/birthday"
);

let params = {
    "id": "qui",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "smtp_account_id": "quisquam",
    "email_from_name": "aut",
    "email_from_mail": "in",
    "email_subject": "quo",
    "email_content": "qui",
    "birthday_configuration_status": "doloremque"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/hook/email/birthday'
payload = {
    "smtp_account_id": "quisquam",
    "email_from_name": "aut",
    "email_from_mail": "in",
    "email_subject": "quo",
    "email_content": "qui",
    "birthday_configuration_status": "doloremque"
}
params = {
  'id': 'qui',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/hook/email/birthday

Query Parameters

id  string optional  

Body Parameters

smtp_account_id  required optional  
-

email_from_name  required optional  
-

email_from_mail  required optional  
-

email_subject  required optional  
-

email_content  required optional  
-

birthday_configuration_status  required optional  
-

Panel\Pkg\Marketing\Email\Campaign\Campaign

Gerenciamento de Pkg: MARKETING. Email

Panel\Pkg\Marketing\Email\Campaign\Campaign\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'consequatur',
            'status'=> 'velit',
            'campaign_type'=> 'delectus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign?search=consequatur&status=velit&campaign_type=delectus" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign"
);

let params = {
    "search": "consequatur",
    "status": "velit",
    "campaign_type": "delectus",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign'
params = {
  'search': 'consequatur',
  'status': 'velit',
  'campaign_type': 'delectus',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {
            "id": 1,
            "client_id": 1,
            "template_id": 1,
            "smtp_account_id": 1,
            "name": "Campanha de Automação",
            "subject": "Não perca esta oportunidade!",
            "from_name": "Frederico",
            "reply_to": "dev@iporto.io",
            "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.",
            "status": "active",
            "campaign_type": "automation",
            "created_at": "2019-06-24 19:49:33",
            "updated_at": "2019-06-24 19:49:33",
            "deleted_at": null,
            "display_at": "2019-06-24 19:52:46"
        }
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/marketing/email/campaign

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

campaign_type  string optional  
CAMPO DE BUSCA POR CAMPAIGN TYPE.

Panel\Pkg\Marketing\Email\Campaign\Campaign\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'template_id' => '1',
            'smtp_account_id' => '1',
            'name' => 'Campanha de Automação',
            'subject' => 'Não perca esta oportunidade!',
            'from_name' => 'Frederico',
            'reply_to' => 'dev@iporto.io',
            'content_html' => 'Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.',
            'status' => 'active',
            'campaign_type' => 'automation',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"template_id":"1","smtp_account_id":"1","name":"Campanha de Automa\u00e7\u00e3o","subject":"N\u00e3o perca esta oportunidade!","from_name":"Frederico","reply_to":"dev@iporto.io","content_html":"Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavalia\u00e7\u00e3o do sistema de participa\u00e7\u00e3o geral.","status":"active","campaign_type":"automation"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "template_id": "1",
    "smtp_account_id": "1",
    "name": "Campanha de Automa\u00e7\u00e3o",
    "subject": "N\u00e3o perca esta oportunidade!",
    "from_name": "Frederico",
    "reply_to": "dev@iporto.io",
    "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavalia\u00e7\u00e3o do sistema de participa\u00e7\u00e3o geral.",
    "status": "active",
    "campaign_type": "automation"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign'
payload = {
    "template_id": "1",
    "smtp_account_id": "1",
    "name": "Campanha de Automa\u00e7\u00e3o",
    "subject": "N\u00e3o perca esta oportunidade!",
    "from_name": "Frederico",
    "reply_to": "dev@iporto.io",
    "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavalia\u00e7\u00e3o do sistema de participa\u00e7\u00e3o geral.",
    "status": "active",
    "campaign_type": "automation"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "template_id": 1,
        "smtp_account_id": 1,
        "name": "Campanha de Automação",
        "subject": "Não perca esta oportunidade!",
        "from_name": "Frederico",
        "reply_to": "dev@iporto.io",
        "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.",
        "status": "active",
        "campaign_type": "automation",
        "created_at": "2019-06-24 19:49:33",
        "updated_at": "2019-06-24 19:49:33",
        "deleted_at": null,
        "display_at": "2019-06-24 19:49:34"
    }
}

Request      

POST api/panel/pkg/marketing/email/campaign

Body Parameters

template_id  string optional  
ID DO TEMPLATE DE CAMPANHA.

smtp_account_id  string  
ID DA CONTA DE SMTP QUE SERÁ UTILIZADO PARA AUTENTICAR OS ENVIOS.

name  string  
NOME DA CAMPANHA USADO PARA CONTROLE INTERNO.

subject  string  
ASSUNTO DA CAMPANHA.

from_name  string  
NOME USADO COMO FROM DA CAMPANHA.

reply_to  string  
E-MAIL QUE RECEBERÁ AS RESPOSTAS DOS E-MAILS.

content_html  string optional  
CONTEÚDO DA CAMPANHA.

status  string  
STATUS (draft,active,inactive).

campaign_type  string  
TIPO DE CAMPANHA (regular,plaintext,variate,automation).

Panel\Pkg\Marketing\Email\Campaign\Campaign\replicate

Replica/Duplica uma campanha.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/replicate',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/replicate?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/replicate"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/replicate'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/marketing/email/campaign/{id}/replicate

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Marketing\Email\Campaign\Campaign\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "template_id": 1,
        "smtp_account_id": 1,
        "name": "Campanha de Automação",
        "subject": "Não perca esta oportunidade!",
        "from_name": "Frederico",
        "reply_to": "dev@iporto.io",
        "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.",
        "status": "active",
        "campaign_type": "automation",
        "created_at": "2019-06-24 19:49:33",
        "updated_at": "2019-06-24 19:49:33",
        "deleted_at": null,
        "display_at": "2019-06-24 19:49:34"
    }
}

Request      

GET api/panel/pkg/marketing/email/campaign/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Marketing\Email\Campaign\Campaign\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
        'json' => [
            'template_id' => '1',
            'smtp_account_id' => '1',
            'name' => 'Campanha de Automação',
            'subject' => 'Não perca esta oportunidade!',
            'from_name' => 'Frederico',
            'reply_to' => 'dev@iporto.io',
            'content_html' => 'Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.',
            'status' => 'active',
            'campaign_type' => 'automation',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"template_id":"1","smtp_account_id":"1","name":"Campanha de Automa\u00e7\u00e3o","subject":"N\u00e3o perca esta oportunidade!","from_name":"Frederico","reply_to":"dev@iporto.io","content_html":"Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavalia\u00e7\u00e3o do sistema de participa\u00e7\u00e3o geral.","status":"active","campaign_type":"automation"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "template_id": "1",
    "smtp_account_id": "1",
    "name": "Campanha de Automa\u00e7\u00e3o",
    "subject": "N\u00e3o perca esta oportunidade!",
    "from_name": "Frederico",
    "reply_to": "dev@iporto.io",
    "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavalia\u00e7\u00e3o do sistema de participa\u00e7\u00e3o geral.",
    "status": "active",
    "campaign_type": "automation"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}'
payload = {
    "template_id": "1",
    "smtp_account_id": "1",
    "name": "Campanha de Automa\u00e7\u00e3o",
    "subject": "N\u00e3o perca esta oportunidade!",
    "from_name": "Frederico",
    "reply_to": "dev@iporto.io",
    "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavalia\u00e7\u00e3o do sistema de participa\u00e7\u00e3o geral.",
    "status": "active",
    "campaign_type": "automation"
}
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "template_id": 1,
        "smtp_account_id": 1,
        "name": "Campanha de Automação",
        "subject": "Não perca esta oportunidade!",
        "from_email": "dev@iporto.io",
        "from_name": "Frederico",
        "reply_to": "dev@iporto.io",
        "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.",
        "status": "active",
        "campaign_type": "automation",
        "created_at": "2019-06-24 19:49:33",
        "updated_at": "2019-06-24 19:49:33",
        "deleted_at": null,
        "display_at": "2019-06-24 19:49:34"
    }
}

Request      

PUT api/panel/pkg/marketing/email/campaign/{id}

Query Parameters

id  string  
ID DO ITEM.

Body Parameters

template_id  string optional  
ID DO TEMPLATE DE CAMPANHA.

smtp_account_id  string  
ID DA CONTA DE SMTP QUE SERÁ UTILIZADO PARA AUTENTICAR OS ENVIOS.

name  string  
NOME DA CAMPANHA USADO PARA CONTROLE INTERNO.

subject  string  
ASSUNTO DA CAMPANHA.

from_name  string  
NOME USADO COMO FROM DA CAMPANHA.

reply_to  string  
E-MAIL QUE RECEBERÁ AS RESPOSTAS DOS E-MAILS.

content_html  string optional  
CONTEÚDO DA CAMPANHA.

status  string  
STATUS (draft,active,inactive).

campaign_type  string  
TIPO DE CAMPANHA (regular,plaintext,variate,automation).

Panel\Pkg\Marketing\Email\Campaign\Campaign\template

Atualiza o template de uma campanha.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/template',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
        'json' => [
            'template_id' => '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/template?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"template_id":"1"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/template"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "template_id": "1"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/template'
payload = {
    "template_id": "1"
}
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "template_id": 1,
        "smtp_account_id": 1,
        "name": "Campanha de Automação",
        "subject": "Não perca esta oportunidade!",
        "from_email": "dev@iporto.io",
        "from_name": "Frederico",
        "reply_to": "dev@iporto.io",
        "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.",
        "status": "active",
        "campaign_type": "automation",
        "created_at": "2019-06-24 19:49:33",
        "updated_at": "2019-06-24 19:49:33",
        "deleted_at": null,
        "display_at": "2019-06-24 19:49:34"
    }
}

Request      

PUT api/panel/pkg/marketing/email/campaign/{id}/template

Query Parameters

id  string  
ID DO ITEM.

Body Parameters

template_id  string  
ID DO TEMPLATE DE CAMPANHA.

Panel\Pkg\Marketing\Email\Campaign\Campaign\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1,
        "client_id": 1,
        "template_id": 1,
        "smtp_account_id": 1,
        "name": "Campanha de Automação 2",
        "subject": "Não perca esta oportunidade!",
        "from_name": "Frederico",
        "reply_to": "dev@iporto.io",
        "content_html": "Pensando mais a longo prazo, o comprometimento entre as equipes causa impacto indireto na reavaliação do sistema de participação geral.",
        "status": "active",
        "campaign_type": "automation",
        "created_at": "2019-06-24 19:50:26",
        "updated_at": "2019-06-24 19:50:34",
        "deleted_at": {
            "date": "2019-06-24 19:50:34.218945",
            "timezone_type": 3,
            "timezone": "America\/Sao_Paulo"
        },
        "display_at": "2019-06-24 19:50:34"
    }
}

Request      

DELETE api/panel/pkg/marketing/email/campaign/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Marketing\Email\Campaign\Campaign\test

Faz o envio de um Teste para o E-mail selecionado visualizar a campanha.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/test',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
        'json' => [
            'recipients' => 'frederido@iporto.io',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/test?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"recipients":"frederido@iporto.io"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/test"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "recipients": "frederido@iporto.io"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{id}/test'
payload = {
    "recipients": "frederido@iporto.io"
}
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/marketing/email/campaign/{id}/test

Query Parameters

id  string  
ID DO ITEM.

Body Parameters

recipients  string  
E-MAIL DE QUEM DEVE RECEBER A CAMPANHA DE TESTE.

Panel\Pkg\Marketing\Email\Campaign\Campaign\action

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/action',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/action" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/action"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/action'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/marketing/email/campaign/action

Panel\Pkg\Marketing\Email\Campaign\Dispatch\Schedule

Gerenciamento de Pkg: MARKETING. Email

Panel\Pkg\Marketing\Email\Campaign\Dispatch\Schedule\store

Promove o início de uma campanha.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'campaign_id'=> '1',
        ],
        'json' => [
            'year' => 'expedita',
            'month' => 'sit',
            'day' => 'quam',
            'hour' => 'quasi',
            'minute' => 'quia',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule?campaign_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"year":"expedita","month":"sit","day":"quam","hour":"quasi","minute":"quia"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule"
);

let params = {
    "campaign_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "year": "expedita",
    "month": "sit",
    "day": "quam",
    "hour": "quasi",
    "minute": "quia"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule'
payload = {
    "year": "expedita",
    "month": "sit",
    "day": "quam",
    "hour": "quasi",
    "minute": "quia"
}
params = {
  'campaign_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule

Query Parameters

campaign_id  string  
ID DA CAMPANHA.

Body Parameters

year  string  
ANO DE ENVIO.

month  string  
MÊS DE ENVIO.

day  string  
DIA DE ENVIO.

hour  string  
HORA DE ENVIO.

minute  string  
MINUTO DE ENVIO.

Panel\Pkg\Marketing\Email\Campaign\Dispatch\Schedule\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/marketing/email/campaign/{campaign_id}/schedule/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Marketing\Email\Campaign\Recipient

Gerenciamento de Pkg: MARKETING. Email

Panel\Pkg\Marketing\Email\Campaign\Recipient\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/recipient/addressbook/{addressbook_id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'campaign_id'=> '1',
            'addressbook_id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/recipient/addressbook/{addressbook_id}?campaign_id=1&addressbook_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/recipient/addressbook/{addressbook_id}"
);

let params = {
    "campaign_id": "1",
    "addressbook_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/{campaign_id}/recipient/addressbook/{addressbook_id}'
params = {
  'campaign_id': '1',
  'addressbook_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/pkg/marketing/email/campaign/{campaign_id}/recipient/addressbook/{addressbook_id}

Query Parameters

campaign_id  string  
ID DA CAMPANHA.

addressbook_id  string  
ID DA LISTA DE CONTATOS.

Panel\Pkg\Marketing\Email\Campaign\Report\Action

Gerenciamento de CONTATOS.

Panel\Pkg\Marketing\Email\Campaign\Report\Action\store

Mostra os dados para report na Dashboard.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/report',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/report" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/report"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/marketing/email/campaign/report'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/marketing/email/campaign/report

Panel\Pkg\Pipeline\Deal\Activity\History

Gerenciamento de History.

Panel\Pkg\Pipeline\Deal\Activity\History\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history

Panel\Pkg\Pipeline\Deal\Activity\History\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'pkg_pipeline_id' => 'pariatur',
            'description' => 'est',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"pkg_pipeline_id":"pariatur","description":"est"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "pkg_pipeline_id": "pariatur",
    "description": "est"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history'
payload = {
    "pkg_pipeline_id": "pariatur",
    "description": "est"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history

Body Parameters

pkg_pipeline_id  required optional  
-

description  required optional  
-

Panel\Pkg\Pipeline\Deal\Activity\History\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/history/{id}

Panel\Pkg\Pipeline\Deal\Activity\Schedule

Gerenciamento de Deal.

Panel\Pkg\Pipeline\Deal\Activity\Schedule\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule

Panel\Pkg\Pipeline\Deal\Activity\Schedule\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'autem',
            'pkg_pipeline_id' => 'magnam',
            'description' => 'beatae',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"autem","pkg_pipeline_id":"magnam","description":"beatae"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "autem",
    "pkg_pipeline_id": "magnam",
    "description": "beatae"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule'
payload = {
    "name": "autem",
    "pkg_pipeline_id": "magnam",
    "description": "beatae"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule

Body Parameters

name  required optional  
-

pkg_pipeline_id  required optional  
-

description  required optional  
-

Panel\Pkg\Pipeline\Deal\Activity\Schedule\show

Promove a visualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}

Panel\Pkg\Pipeline\Deal\Activity\Schedule\update

Promove a atualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'sit',
            'description' => 'in',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"sit","description":"in"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "sit",
    "description": "in"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}'
payload = {
    "name": "sit",
    "description": "in"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}

Body Parameters

name  required optional  
-

description  required optional  
-

Panel\Pkg\Pipeline\Deal\Activity\Schedule\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/activity/schedule/{id}

Panel\Pkg\Pipeline\Deal\Deal

Gerenciamento de Deal.

Panel\Pkg\Pipeline\Deal\Deal\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal

Panel\Pkg\Pipeline\Deal\Deal\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'facilis',
            'client_id' => 'dolorem',
            'client_user_id' => 'alias',
            'pkg_pipeline_id' => 'omnis',
            'deal_status' => 'quia',
            'lead_type' => 'officiis',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"facilis","client_id":"dolorem","client_user_id":"alias","pkg_pipeline_id":"omnis","deal_status":"quia","lead_type":"officiis"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "facilis",
    "client_id": "dolorem",
    "client_user_id": "alias",
    "pkg_pipeline_id": "omnis",
    "deal_status": "quia",
    "lead_type": "officiis"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal'
payload = {
    "name": "facilis",
    "client_id": "dolorem",
    "client_user_id": "alias",
    "pkg_pipeline_id": "omnis",
    "deal_status": "quia",
    "lead_type": "officiis"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal

Body Parameters

name  required optional  
-

client_id  required optional  
-

client_user_id  required optional  
-

pkg_pipeline_id  required optional  
-

deal_status  required optional  
-

lead_type  required optional  
-

Panel\Pkg\Pipeline\Deal\Deal\show

Promove a visualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'molestias',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}?id=molestias" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}"
);

let params = {
    "id": "molestias",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}'
params = {
  'id': 'molestias',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{id}

Query Parameters

id  string optional  

Panel\Pkg\Pipeline\Deal\Deal\update

Promove a atualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> 'ea',
        ],
        'json' => [
            'name' => 'unde',
            'pkg_pipeline_id' => 'et',
            'deal_status' => 'recusandae',
            'lead_type' => 'optio',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}?id=ea" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"unde","pkg_pipeline_id":"et","deal_status":"recusandae","lead_type":"optio"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}"
);

let params = {
    "id": "ea",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "unde",
    "pkg_pipeline_id": "et",
    "deal_status": "recusandae",
    "lead_type": "optio"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}'
payload = {
    "name": "unde",
    "pkg_pipeline_id": "et",
    "deal_status": "recusandae",
    "lead_type": "optio"
}
params = {
  'id': 'ea',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{id}

Query Parameters

id  string optional  

Body Parameters

name  required optional  
-

pkg_pipeline_id  required optional  
-

deal_status  required optional  
-

lead_type  required optional  
-

Panel\Pkg\Pipeline\Deal\Deal\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{id}

Panel\Pkg\Pipeline\Deal\Deal\gain

Promove a atualização do gain_at de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/gain',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/gain" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/gain"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/gain'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{id}/gain

Panel\Pkg\Pipeline\Deal\Deal\lost

Promove a atualização do lost_at de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/lost',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/lost" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/lost"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "PUT",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{id}/lost'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{id}/lost

Panel\Pkg\Pipeline\Deal\Relationship\Company

Gerenciamento de Company.

Panel\Pkg\Pipeline\Deal\Relationship\Company\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company

Panel\Pkg\Pipeline\Deal\Relationship\Company\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'id',
            'pkg_pipeline_id' => 'consequatur',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"id","pkg_pipeline_id":"consequatur"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "id",
    "pkg_pipeline_id": "consequatur"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company'
payload = {
    "name": "id",
    "pkg_pipeline_id": "consequatur"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company

Body Parameters

name  required optional  
-

pkg_pipeline_id  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Company\show

Promove a visualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Company\update

Promove a atualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'voluptatem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"voluptatem"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "voluptatem"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}'
payload = {
    "name": "voluptatem"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}

Body Parameters

name  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Company\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/company/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Contact

Gerenciamento de Contact.

Panel\Pkg\Pipeline\Deal\Relationship\Contact\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact

Panel\Pkg\Pipeline\Deal\Relationship\Contact\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'asperiores',
            'phone' => 'voluptas',
            'email' => 'quo',
            'pkg_pipeline_id' => 'consequatur',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"asperiores","phone":"voluptas","email":"quo","pkg_pipeline_id":"consequatur"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "asperiores",
    "phone": "voluptas",
    "email": "quo",
    "pkg_pipeline_id": "consequatur"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact'
payload = {
    "name": "asperiores",
    "phone": "voluptas",
    "email": "quo",
    "pkg_pipeline_id": "consequatur"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact

Body Parameters

name  required optional  
-

phone  required optional  
-

email  required optional  
-

pkg_pipeline_id  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Contact\show

Promove a visualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Contact\update

Promove a atualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'atque',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"atque"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "atque"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}'
payload = {
    "name": "atque"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}

Body Parameters

name  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Contact\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/contact/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Field

Gerenciamento de Field.

Panel\Pkg\Pipeline\Deal\Relationship\Field\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field

Panel\Pkg\Pipeline\Deal\Relationship\Field\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'ullam',
            'client_id' => 'rerum',
            'pkg_pipeline_id' => 'vel',
            'value' => 'a',
            'field_type' => 'necessitatibus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"ullam","client_id":"rerum","pkg_pipeline_id":"vel","value":"a","field_type":"necessitatibus"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "ullam",
    "client_id": "rerum",
    "pkg_pipeline_id": "vel",
    "value": "a",
    "field_type": "necessitatibus"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field'
payload = {
    "name": "ullam",
    "client_id": "rerum",
    "pkg_pipeline_id": "vel",
    "value": "a",
    "field_type": "necessitatibus"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field

Body Parameters

name  required optional  
-

client_id  required optional  
-

pkg_pipeline_id  required optional  
-

value  required optional  
-

field_type  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Field\show

Promove a visualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Field\update

Promove a atualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'ipsa',
            'value' => 'facilis',
            'field_type' => 'eligendi',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"ipsa","value":"facilis","field_type":"eligendi"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "ipsa",
    "value": "facilis",
    "field_type": "eligendi"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}'
payload = {
    "name": "ipsa",
    "value": "facilis",
    "field_type": "eligendi"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}

Body Parameters

name  required optional  
-

value  required optional  
-

field_type  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Field\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/field/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Product

Gerenciamento de Product.

Panel\Pkg\Pipeline\Deal\Relationship\Product\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product

Panel\Pkg\Pipeline\Deal\Relationship\Product\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'commodi',
            'pkg_pipeline_id' => 'consequatur',
            'pkg_shop_product_id' => 'reiciendis',
            'price' => 'dolorum',
            'quantity' => 'a',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"commodi","pkg_pipeline_id":"consequatur","pkg_shop_product_id":"reiciendis","price":"dolorum","quantity":"a"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "commodi",
    "pkg_pipeline_id": "consequatur",
    "pkg_shop_product_id": "reiciendis",
    "price": "dolorum",
    "quantity": "a"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product'
payload = {
    "name": "commodi",
    "pkg_pipeline_id": "consequatur",
    "pkg_shop_product_id": "reiciendis",
    "price": "dolorum",
    "quantity": "a"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product

Body Parameters

name  required optional  
-

pkg_pipeline_id  required optional  
-

pkg_shop_product_id  required optional  
-

price  required optional  
-

quantity  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Product\show

Promove a visualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Product\update

Promove a atualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'voluptas',
            'price' => 'esse',
            'quantity' => 'facere',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"voluptas","price":"esse","quantity":"facere"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "voluptas",
    "price": "esse",
    "quantity": "facere"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}'
payload = {
    "name": "voluptas",
    "price": "esse",
    "quantity": "facere"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}

Body Parameters

name  required optional  
-

price  required optional  
-

quantity  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Product\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/product/{id}

Panel\Pkg\Pipeline\Deal\Relationship\Tag

Gerenciamento de Tag.

Panel\Pkg\Pipeline\Deal\Relationship\Tag\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'consequatur',
            'client_id' => 'distinctio',
            'pkg_pipeline_id' => 'natus',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"consequatur","client_id":"distinctio","pkg_pipeline_id":"natus"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "consequatur",
    "client_id": "distinctio",
    "pkg_pipeline_id": "natus"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag'
payload = {
    "name": "consequatur",
    "client_id": "distinctio",
    "pkg_pipeline_id": "natus"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag

Body Parameters

name  required optional  
-

client_id  required optional  
-

pkg_pipeline_id  required optional  
-

Panel\Pkg\Pipeline\Deal\Relationship\Tag\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag

Panel\Pkg\Pipeline\Deal\Relationship\Tag\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/deal/{pkg_pipeline_deal_id}/relationship/tag/{id}

Panel\Pkg\Pipeline\Pipeline

Gerenciamento de Pipeline.

Panel\Pkg\Pipeline\Pipeline\index

Promove a listagem de registros.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline

Panel\Pkg\Pipeline\Pipeline\store

Promove a criação de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'sapiente',
            'probability_to_win' => 'ipsam',
            'pipeline_position' => 'nostrum',
            'pipeline_status' => 'voluptas',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"sapiente","probability_to_win":"ipsam","pipeline_position":"nostrum","pipeline_status":"voluptas"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "sapiente",
    "probability_to_win": "ipsam",
    "pipeline_position": "nostrum",
    "pipeline_status": "voluptas"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline'
payload = {
    "name": "sapiente",
    "probability_to_win": "ipsam",
    "pipeline_position": "nostrum",
    "pipeline_status": "voluptas"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline

Body Parameters

name  required optional  
-

probability_to_win  required optional  
-

pipeline_position  required optional  
-

pipeline_status  required optional  
-

Panel\Pkg\Pipeline\Pipeline\show

Promove a visualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/pipeline/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

GET api/panel/pkg/pipeline/{id}

Panel\Pkg\Pipeline\Pipeline\update

Promove a atualização de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'neque',
            'probability_to_win' => 'ullam',
            'pipeline_position' => 'voluptas',
            'pipeline_status' => 'consequatur',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"neque","probability_to_win":"ullam","pipeline_position":"voluptas","pipeline_status":"consequatur"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "neque",
    "probability_to_win": "ullam",
    "pipeline_position": "voluptas",
    "pipeline_status": "consequatur"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/{id}'
payload = {
    "name": "neque",
    "probability_to_win": "ullam",
    "pipeline_position": "voluptas",
    "pipeline_status": "consequatur"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

PUT api/panel/pkg/pipeline/{id}

Body Parameters

name  required optional  
-

probability_to_win  required optional  
-

pipeline_position  required optional  
-

pipeline_status  required optional  
-

Panel\Pkg\Pipeline\Pipeline\destroy

Promove a remoção de um registro.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/{id}" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/{id}"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/{id}'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

DELETE api/panel/pkg/pipeline/{id}

Panel\Pkg\Pipeline\Pipeline\start

Promove a remoção dos pipelines padrão.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/pipeline/start',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/pipeline/start" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/pipeline/start"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "POST",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/pipeline/start'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/pipeline/start

Panel\Pkg\Research\Nps\Company\Branch

Gerenciamento de Pkg: FORMULÁRIOS. Nps

Panel\Pkg\Research\Nps\Company\Branch\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'pkg_research_nps_company_id'=> 'eum',
            'search'=> 'aut',
            'status'=> 'autem',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch?pkg_research_nps_company_id=eum&search=aut&status=autem" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch"
);

let params = {
    "pkg_research_nps_company_id": "eum",
    "search": "aut",
    "status": "autem",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch'
params = {
  'pkg_research_nps_company_id': 'eum',
  'search': 'aut',
  'status': 'autem',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch

Query Parameters

pkg_research_nps_company_id  string optional  
ID DA EMPRESA.

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Research\Nps\Company\Branch\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'pkg_research_nps_company_id'=> 'ut',
        ],
        'json' => [
            'name' => 'iPORTO E-MAILS.',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch?pkg_research_nps_company_id=ut" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"iPORTO E-MAILS."}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch"
);

let params = {
    "pkg_research_nps_company_id": "ut",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "iPORTO E-MAILS."
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch'
payload = {
    "name": "iPORTO E-MAILS."
}
params = {
  'pkg_research_nps_company_id': 'ut',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch

Query Parameters

pkg_research_nps_company_id  string optional  
ID DA EMPRESA.

Body Parameters

name  string  
NOME DA FILIAL.

Panel\Pkg\Research\Nps\Company\Branch\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'pkg_research_nps_company_id'=> 'quisquam',
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}?pkg_research_nps_company_id=quisquam&id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}"
);

let params = {
    "pkg_research_nps_company_id": "quisquam",
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}'
params = {
  'pkg_research_nps_company_id': 'quisquam',
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}

Query Parameters

pkg_research_nps_company_id  string optional  
ID DA EMPRESA.

id  string  
ID DO ITEM.

Panel\Pkg\Research\Nps\Company\Branch\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'pkg_research_nps_company_id'=> 'est',
            'id'=> '1',
        ],
        'json' => [
            'name' => 'iPORTO E-MAILS.',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}?pkg_research_nps_company_id=est&id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"iPORTO E-MAILS."}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}"
);

let params = {
    "pkg_research_nps_company_id": "est",
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "iPORTO E-MAILS."
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}'
payload = {
    "name": "iPORTO E-MAILS."
}
params = {
  'pkg_research_nps_company_id': 'est',
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}

Query Parameters

pkg_research_nps_company_id  string optional  
ID DA EMPRESA.

id  string  
ID DO ITEM.

Body Parameters

name  string  
NOME DA FILIAL.

Panel\Pkg\Research\Nps\Company\Branch\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'pkg_research_nps_company_id'=> 'esse',
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}?pkg_research_nps_company_id=esse&id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}"
);

let params = {
    "pkg_research_nps_company_id": "esse",
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}'
params = {
  'pkg_research_nps_company_id': 'esse',
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/research/nps/company/{pkg_research_nps_company_id}/branch/{id}

Query Parameters

pkg_research_nps_company_id  string optional  
ID DA EMPRESA.

id  string  
ID DO ITEM.

Panel\Pkg\Research\Nps\Company\Company

Gerenciamento de Pkg: FORMULÁRIOS. Nps

Panel\Pkg\Research\Nps\Company\Company\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'omnis',
            'status'=> 'soluta',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/company?search=omnis&status=soluta" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company"
);

let params = {
    "search": "omnis",
    "status": "soluta",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company'
params = {
  'search': 'omnis',
  'status': 'soluta',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/research/nps/company

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Research\Nps\Company\Company\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'name' => 'iPORTO LTDA',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"iPORTO LTDA"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "iPORTO LTDA"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company'
payload = {
    "name": "iPORTO LTDA"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/research/nps/company

Body Parameters

name  string  
NOME DA EMPRESA.

Panel\Pkg\Research\Nps\Company\Company\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/research/nps/company/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Research\Nps\Company\Company\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
        'json' => [
            'name' => 'iPORTO LTDA',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"name":"iPORTO LTDA"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "name": "iPORTO LTDA"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}'
payload = {
    "name": "iPORTO LTDA"
}
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/pkg/research/nps/company/{id}

Query Parameters

id  string  
ID DO ITEM.

Body Parameters

name  string  
NOME DA EMPRESA.

Panel\Pkg\Research\Nps\Company\Company\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/company/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/research/nps/company/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Research\Nps\Nps

Gerenciamento de Pkg: FORMULÁRIOS. Nps

Panel\Pkg\Research\Nps\Nps\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'search'=> 'animi',
            'status'=> 'laborum',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps?search=animi&status=laborum" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps"
);

let params = {
    "search": "animi",
    "status": "laborum",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps'
params = {
  'search': 'animi',
  'status': 'laborum',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/research/nps

Query Parameters

search  string optional  
CAMPO DE BUSCA POR NOME OU ID.

status  string optional  
CAMPO DE BUSCA POR STATUS.

Panel\Pkg\Research\Nps\Nps\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/research/nps',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'addressbook_id' => '1',
            'name' => 'NPS nossa Empresa',
            'description' => 'aut',
            'company' => 'consectetur',
            'is_public' => 'yes',
            'is_toten' => 'yes',
            'status' => 'active',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/research/nps" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"addressbook_id":"1","name":"NPS nossa Empresa","description":"aut","company":"consectetur","is_public":"yes","is_toten":"yes","status":"active"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "addressbook_id": "1",
    "name": "NPS nossa Empresa",
    "description": "aut",
    "company": "consectetur",
    "is_public": "yes",
    "is_toten": "yes",
    "status": "active"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps'
payload = {
    "addressbook_id": "1",
    "name": "NPS nossa Empresa",
    "description": "aut",
    "company": "consectetur",
    "is_public": "yes",
    "is_toten": "yes",
    "status": "active"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/research/nps

Body Parameters

addressbook_id  string  
ID DA PESQUISA NPS.

name  string  
NOME.

description  string optional  
DESCRIÇÃO.

company  string optional  
NOME DA EMPRESA.

is_public  string optional  
SE A PESQUISA É PUBLICA (yes,no).

is_toten  string optional  
SE A PESQUISA SERÁ APLICADA EM UM TOTEN (yes,no).

status  string  
STATUS (draft,active,inactive).

Panel\Pkg\Research\Nps\Nps\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/research/nps/{id}

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Research\Nps\Nps\show_report

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/research/nps/{id}/report

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Research\Nps\Nps\show

Retorna um ITEM para visualização com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/vote',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/vote?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/vote"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/vote'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

GET api/panel/pkg/research/nps/{id}/vote

Query Parameters

id  string  
ID DO ITEM.

Panel\Pkg\Research\Nps\Nps\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
        'json' => [
            'pkg_research_nps_company_id' => '1',
            'name' => 'NPS nossa Empresa',
            'description' => 'laborum',
            'company' => 'molestias',
            'is_public' => 'yes',
            'is_toten' => 'yes',
            'status' => 'active',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"pkg_research_nps_company_id":"1","name":"NPS nossa Empresa","description":"laborum","company":"molestias","is_public":"yes","is_toten":"yes","status":"active"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "pkg_research_nps_company_id": "1",
    "name": "NPS nossa Empresa",
    "description": "laborum",
    "company": "molestias",
    "is_public": "yes",
    "is_toten": "yes",
    "status": "active"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}'
payload = {
    "pkg_research_nps_company_id": "1",
    "name": "NPS nossa Empresa",
    "description": "laborum",
    "company": "molestias",
    "is_public": "yes",
    "is_toten": "yes",
    "status": "active"
}
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/pkg/research/nps/{id}

Query Parameters

id  string  
ID DO ITEM.

Body Parameters

pkg_research_nps_company_id  string optional  
ID DA EMPRESA.

name  string  
NOME.

description  string optional  
DESCRIÇÃO.

company  string optional  
NOME DA EMPRESA.

is_public  string optional  
SE A PESQUISA É PUBLICA (yes,no).

is_toten  string optional  
SE A PESQUISA SERÁ APLICADA EM UM TOTEN (yes,no).

status  string  
STATUS (draft,active,inactive).

Panel\Pkg\Research\Nps\Nps\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}?id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}"
);

let params = {
    "id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}'
params = {
  'id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/research/nps/{id}

Query Parameters

id  string  
ID DO ITEM.

api/panel/pkg/research/nps/{id}/report/vote

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report/vote',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report/vote" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report/vote"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{id}/report/vote'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Request      

GET api/panel/pkg/research/nps/{id}/report/vote

Panel\Pkg\Research\Nps\Question\Answer

Gerenciamento de Pkg: FORMULÁRIOS. Nps

Panel\Pkg\Research\Nps\Question\Answer\index

TODO: Descrição método.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/answer',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/research/nps/answer" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/answer"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/answer'
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers)
response.json()

Example response (200):

{
    "data": [
        {}
    ],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/research/nps/answer

Panel\Pkg\Research\Nps\Question\Answer\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'pkg_research_nps_id' => '1',
            'description' => 'enim',
            'required' => 'no',
            'field_type' => 'dropdown',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"pkg_research_nps_id":"1","description":"enim","required":"no","field_type":"dropdown"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "pkg_research_nps_id": "1",
    "description": "enim",
    "required": "no",
    "field_type": "dropdown"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer'
payload = {
    "pkg_research_nps_id": "1",
    "description": "enim",
    "required": "no",
    "field_type": "dropdown"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer

Body Parameters

pkg_research_nps_id  string  
ID DA PESQUISA NPS.

description  string optional  
TEXTO DA PERGUNTA.

required  string optional  
SE É OBRIGATÓRIA A RESPOSTA (yes,no).

field_type  string optional  
TIPO DE CAMPO (text,textarea,dropdown,checkbox).

Panel\Pkg\Research\Nps\Question\Answer\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
            'pkg_research_nps_id'=> '1',
        ],
        'json' => [
            'description' => 'id',
            'required' => 'no',
            'field_type' => 'dropdown',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}?id=1&pkg_research_nps_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"description":"id","required":"no","field_type":"dropdown"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}"
);

let params = {
    "id": "1",
    "pkg_research_nps_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "description": "id",
    "required": "no",
    "field_type": "dropdown"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}'
payload = {
    "description": "id",
    "required": "no",
    "field_type": "dropdown"
}
params = {
  'id': '1',
  'pkg_research_nps_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}

Query Parameters

id  string  
ID DO ITEM.

pkg_research_nps_id  string optional  
ID DA PESQUISA NPS.

Body Parameters

description  string optional  
TEXTO DA PERGUNTA.

required  string optional  
SE É OBRIGATÓRIA A RESPOSTA (yes,no).

field_type  string optional  
TIPO DE CAMPO (text,textarea,dropdown,checkbox).

Panel\Pkg\Research\Nps\Question\Question\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
            'pkg_research_nps_id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}?id=1&pkg_research_nps_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}"
);

let params = {
    "id": "1",
    "pkg_research_nps_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}'
params = {
  'id': '1',
  'pkg_research_nps_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{pkg_research_nps_questions_id}/answer/{id}

Query Parameters

id  string  
ID DO ITEM.

pkg_research_nps_id  string optional  
ID DA PESQUISA NPS.

Panel\Pkg\Research\Nps\Question\Question

Gerenciamento de Pkg: FORMULÁRIOS. Nps

Panel\Pkg\Research\Nps\Question\Question\store

Promove o cadastro de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'pkg_research_nps_id' => '1',
            'description' => 'non',
            'required' => 'no',
            'field_type' => 'dropdown',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"pkg_research_nps_id":"1","description":"non","required":"no","field_type":"dropdown"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "pkg_research_nps_id": "1",
    "description": "non",
    "required": "no",
    "field_type": "dropdown"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question'
payload = {
    "pkg_research_nps_id": "1",
    "description": "non",
    "required": "no",
    "field_type": "dropdown"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {}
}

Request      

POST api/panel/pkg/research/nps/{pkg_research_nps_id}/question

Body Parameters

pkg_research_nps_id  string  
ID DA PESQUISA NPS.

description  string optional  
TEXTO DA PERGUNTA.

required  string optional  
SE É OBRIGATÓRIA A RESPOSTA (yes,no).

field_type  string optional  
TIPO DE CAMPO (text,textarea,dropdown,checkbox).

Panel\Pkg\Research\Nps\Question\Question\update

Promove a atualização de um ITEM com base nos parâmetros enviados.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->put(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
            'pkg_research_nps_id'=> '1',
        ],
        'json' => [
            'description' => 'earum',
            'required' => 'no',
            'field_type' => 'dropdown',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X PUT \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}?id=1&pkg_research_nps_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"description":"earum","required":"no","field_type":"dropdown"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}"
);

let params = {
    "id": "1",
    "pkg_research_nps_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "description": "earum",
    "required": "no",
    "field_type": "dropdown"
}

fetch(url, {
    method: "PUT",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}'
payload = {
    "description": "earum",
    "required": "no",
    "field_type": "dropdown"
}
params = {
  'id': '1',
  'pkg_research_nps_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('PUT', url, headers=headers, json=payload, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

PUT api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}

Query Parameters

id  string  
ID DO ITEM.

pkg_research_nps_id  string optional  
ID DA PESQUISA NPS.

Body Parameters

description  string optional  
TEXTO DA PERGUNTA.

required  string optional  
SE É OBRIGATÓRIA A RESPOSTA (yes,no).

field_type  string optional  
TIPO DE CAMPO (text,textarea,dropdown,checkbox).

Panel\Pkg\Research\Nps\Question\Question\destroy

Promove a remoção de um ITEM.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->delete(
    'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'id'=> '1',
            'pkg_research_nps_id'=> '1',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X DELETE \
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}?id=1&pkg_research_nps_id=1" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}"
);

let params = {
    "id": "1",
    "pkg_research_nps_id": "1",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "DELETE",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}'
params = {
  'id': '1',
  'pkg_research_nps_id': '1',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('DELETE', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": {}
}

Request      

DELETE api/panel/pkg/research/nps/{pkg_research_nps_id}/question/{id}

Query Parameters

id  string  
ID DO ITEM.

pkg_research_nps_id  string optional  
ID DA PESQUISA NPS.

Panel\Pkg\Sms\Blocklist\Blocklist

Gerenciamento de SMS => Lista de Bloqueio.

Panel\Pkg\Sms\Blocklist\Blocklist\index

Lista.

alt text

REQUISIÇÃO AUTENTICADA.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://api.iporto.com.br/api/panel/pkg/sms/blocklist',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'query' => [
            'phone'=> 'est',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X GET \
    -G "https://api.iporto.com.br/api/panel/pkg/sms/blocklist?phone=est" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c"
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/sms/blocklist"
);

let params = {
    "phone": "est",
};
Object.keys(params)
    .forEach(key => url.searchParams.append(key, params[key]));

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/sms/blocklist'
params = {
  'phone': 'est',
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('GET', url, headers=headers, params=params)
response.json()

Example response (200):

{
    "data": [],
    "meta": {
        "pagination": {
            "total": 1,
            "count": 1,
            "per_page": 10,
            "current_page": 1,
            "total_pages": 1,
            "links": []
        }
    }
}

Request      

GET api/panel/pkg/sms/blocklist

Query Parameters

phone  string optional  

Panel\Pkg\Sms\Blocklist\Blocklist\store

Cria.

Example request:


$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://api.iporto.com.br/api/panel/pkg/sms/blocklist',
    [
        'headers' => [
            'Accept' => 'application/json',
            'Authorization' => 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c',
        ],
        'json' => [
            'phone' => 'est',
            'reason' => 'illo',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
curl -X POST \
    "https://api.iporto.com.br/api/panel/pkg/sms/blocklist" \
    -H "Content-Type: application/json" \
    -H "Accept: application/json" \
    -H "Authorization: Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c" \
    -d '{"phone":"est","reason":"illo"}'
const url = new URL(
    "https://api.iporto.com.br/api/panel/pkg/sms/blocklist"
);

let headers = {
    "Content-Type": "application/json",
    "Accept": "application/json",
    "Authorization": "Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c",
};

let body = {
    "phone": "est",
    "reason": "illo"
}

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
import requests
import json

url = 'https://api.iporto.com.br/api/panel/pkg/sms/blocklist'
payload = {
    "phone": "est",
    "reason": "illo"
}
headers = {
  'Content-Type': 'application/json',
  'Accept': 'application/json',
  'Authorization': 'Bearer OU5ndE35GUCPNAz/lMqeOTELklycyF9fi1szfrJR66wzOWiLRSoMNRYHERRUCMBvAscQDDFO6wS3BqKmfk4jheiCZEuKhlS0jq4tFlQ7H9eNd9yPogqoEcN+lLwdOqAQno3RTxUaBRSpW7GFKt6unhFak4JfR6PVtD2l6eAxMcY58OHK8PLGxBb6T/zP1YNlzYrH8OP4gMvR0699yrzcOmB/xLrUOMGY8CctIjk5fImHRHmmCK71pvAm9t1ndZIB:2:3c'
}

response = requests.request('POST', url, headers=headers, json=payload)
response.json()

Example response (200):

{
    "data": {
        "id": 1
    }
}

Request      

POST api/panel/pkg/sms/blocklist

Body Parameters

phone  required optional  
-

reason  required optional