Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Informações
iconfalse
title1.3.1 Post
Expandir
Informações
iconfalse
titleConfiguração

Máscara de Url: http://{domínio}:{porta}/api/framework/v1/filerepo/connectors/{id}

Informações
iconfalse
titleExemplo de Configuração

Domínio: localhost

Porta: 8051

Id: 3

Url Utilizada: http://localhost:8051/api/framework/v1/filerepo/connectors/3

Informações
iconfalse
titleExemplo de Entrada
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "Name": "gdrive-teste Alterado",
    "Description": "Teste Google Drive Alterado",
    "Type": 1,
    "CompanyID": 0,
    "Status": 1
}
Informações
iconfalse
titleExemplo de Resultado Positivo
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "id": 3,
    "name": "gdrive-teste-altered",
    "companyId": 0,
    "description": "Teste Google Drive altered",
    "type": 1,
    "status": true
}
Informações
iconfalse
title1.1.1 GetAll
Expandir
Informações
iconfalse
titleConfiguração

Máscara de Url: http://{domínio}:{porta}/api/framework/v1/filerepo/connectors

Informações
iconfalse
titleExemplo de Configuração

Domínio: localhost

Porta: 8051

Url Utilizada: http://localhost:8051/api/framework/v1/filerepo/connectors

Informações
iconfalse
titleExemplo de Resultado
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "hasNext": false,
    "items": [
        {
            "id": 3,
            "name": "gdrive-teste-altered",
            "companyId": 0,
            "description": "Teste Google Drive altered",
            "type": 1,
            "status": true
        }
    ],
    "total": 1
}

1.1.2 - GetOne (Recuperar conector pelo Identificador)

Informações
iconfalse
title1.1.2 GetOne
Expandir
Informações
iconfalse
titleConfiguração

Máscara de Url: http://{domínio}:{porta}/api/framework/v1/filerepo/connectors/{id}

Informações
iconfalse
titleExemplo de Configuração

Domínio: localhost

Porta: 8051

Id: 3

Url Utilizada: http://localhost:8051/api/framework/v1/filerepo/connectors/3

Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "id": 3,
    "name": "gdrive-teste-altered",
    "companyId": 0,
    "description": "Teste Google Drive altered",
    "type": 1,
    "status": true
}

1.2 - POST

1.2.1 - Post (Inserir um conflito)

Informações
iconfalse
title1.2.1 Post
Expandir
Informações
iconfalse
titleConfiguração

Máscara de Url: http://{domínio}:{porta}/api/framework/v1/filerepo/connectors

Informações
iconfalse
titleExemplo de Configuração

Domínio: localhost

Porta: 8051

Url Utilizada: http://localhost:8051/api/framework/v1/filerepo/connectors

Informações
iconfalse
titleExemplo de Entrada
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "Name": "gdrive-teste",
    "Description": "Teste Google Drive",
    "Type": "GoogleDrive",
    "CompanyID": 1,
    "SystemCode": "",
    "Status": 0
}
Informações
iconfalse
titleExemplo de Resultado Positivo
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "id": 3,
    "name": "gdrive-teste",
    "companyId": 1,
    "description": "Teste Google Drive",
    "type": 1,
    "status": false
}

1.3 - PUT

...

Put

...

Informações
iconfalse
title1.3.1 Post
Expandir
Informações
iconfalse
titleConfiguração

Máscara de Url: http://{domínio}:{porta}/api/framework/v1/filerepo/connectors/{id}

Informações
iconfalse
titleExemplo de Configuração

Domínio: localhost

Porta: 8051

Id: 3

Url Utilizada: http://localhost:8051/api/framework/v1/filerepo/connectors/3

Informações
iconfalse
titleExemplo de Entrada
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "Name": "gdrive-teste Alterado",
    "Description": "Teste Google Drive Alterado",
    "Type": 1,
    "CompanyID": 0,
    "Status": 1
}
Informações
iconfalse
titleExemplo de Resultado Positivo
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "id": 3,
    "name": "gdrive-teste-altered",
    "companyId": 0,
    "description": "Teste Google Drive altered",
    "type": 1,
    "status": true
}

...

Informações
iconfalse
title1.4.1 DeletePatch
Expandir
titleClique aqui para expandir...
Informações
iconfalse
titleConfiguração

Máscara de Url: http://{domínio}:{porta}/api/framework/v1/filerepo/connectors/{id}

Informações
iconfalse
titleExemplo de Configuração

Domínio: localhost

Porta: 8051

Id: 3

Url Utilizada: http://localhost:8051/api/framework/v1/filerepo/connectors/3

Informações
iconfalse
titleExemplo de Entrada
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "Description": "Teste Google Drive Alterado"
}
Informações
iconfalse
titleExemplo de Resultado Positivo
Expandir
titleVer resultado JSON...
Bloco de código
languagejs
firstline1
titleResultado (JSON)
linenumberstrue
{
    "id": 3,
    "name": "gdrive-teste-altered",
    "companyId": 0,
    "description": "Teste Google Drive Alterado",
    "type": 1,
    "status": true
}

...

Informações
iconfalse
title1.45.1 Delete
Expandir
titleClique aqui para expandir...
Informações
iconfalse
titleConfiguração

Máscara de Url: http://{domínio}:{porta}/api/framework/v1/filerepo/connectors/{id}

Informações
iconfalse
titleExemplo de Configuração

Domínio: localhost

Porta: 8051

Id: 3

Url Utilizada: http://localhost:8051/api/framework/v1/filerepo/connectors/3

Informações
iconfalse
titleResultado esperado

Será retornado o respondeCode = 204 e a resposta em branco.