Totvs custom tabs box items |
---|
default | yes |
---|
referencia | requisitos |
---|
| 01. INTRODUÇÃOPara utilização das APIs de Conta Corrente, primeiramente é necessário obter um token de autenticação. Para obtê-lo, basta seguir os procedimentos documentados no link a seguir:- Link para documentação referente a obtenção de token: obter token
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | geraradiantamento |
---|
| 01. INTRODUÇÃORequisição que tem a como finalidade criar um adiantamento financeiro para o cliente, fazendo um movimento com do tipo "transferência bancária". Em contra-partida, gera um movimento com do tipo "dinheiro" para a conta bancária informada. 02. UTILIZAÇÃO
Totvs custom tabs box |
---|
tabs | Envio, Retorno |
---|
ids | envio,retorno |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | envio |
---|
| Totvs custom tabs box |
---|
tabs | URL, Body, Exemplo de Requisição |
---|
ids | urlE,corpoE,exE |
---|
| Totvs custom tabs box items |
---|
| |
Totvs custom tabs box items |
---|
default | no |
---|
referencia | corpoE |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Body |
---|
linenumbers | true |
---|
| {
"AccountNumber": 0,
"CompensationAccountNumber": 0,
"PaymentValue": 0,
"AuxiliarDescription": "string",
"DocumentNumber": "string"
} |
|
Totvs custom tabs box items |
---|
| URL
HEADER Authorization | Bearer {{token}} |
---|
BODY
Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Body |
---|
linenumbers | true |
---|
| {
"AccountNumber": 0,
"CompensationAccountNumber": 0,
"PaymentValue": 0,
"AuxiliarDescription": "string",
"DocumentNumber": "string"
} |
|
|
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | retorno |
---|
| Totvs custom tabs box |
---|
tabs | Sucesso, Erro |
---|
ids | sucesso,erro |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | sucesso |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 200 OK |
---|
linenumbers | true |
---|
| {
"success":true
} |
|
Totvs custom tabs box items |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 400. 401 e 404 |
---|
linenumbers | true |
---|
| {
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": {status code},
"traceId": {traceId},
"errors": {
[lista de erros]
}
} |
|
|
|
|
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | criarcontacorrente |
---|
| 01. INTRODUÇÃORequisição que tem a como finalidade criar cadastrar uma conta corrente para o cliente. Essa requisição não valida validará se o cliente já possui possui uma conta do tipo "cliente". 02. UTILIZAÇÃO Totvs custom tabs box |
---|
tabs | Envio,Retorno |
---|
ids | envio2,retorno2 |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | envio2 |
---|
| Totvs custom tabs box |
---|
tabs | URL,Body,Exemplo de requisição |
---|
ids | url2,body2,exemplo2 |
---|
| Totvs custom tabs box items |
---|
| |
Totvs custom tabs box items |
---|
| Bloco de código |
---|
| {
"companyDocument": "string",
"customerDocument": "string"
} |
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | exemplo2 |
---|
| URL
HEADER Authorization | Bearer {{token}} |
---|
BODY Bloco de código |
---|
| {
"companyDocument": "string",
"customerDocument": "string"
} |
|
|
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | retorno2 |
---|
| Totvs custom tabs box |
---|
tabs | Sucesso, Erro |
---|
ids | sucesso2,erro2 |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | sucesso2 |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 200 OK |
---|
linenumbers | true |
---|
| {
"success": true,
"data": 999999
} |
|
Totvs custom tabs box items |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 400. 401 e 404 |
---|
linenumbers | true |
---|
| {
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": {status code},
"traceId": {traceId},
"errors": {
[lista de erros]
}
} |
|
|
|
|
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | buscarcontacorrente |
---|
| 01. INTRODUÇÃORequisição que tem como finalidade buscar uma conta corrente para o cliente. Retornará o valor "0" quando não encontrar um registro. 02. UTILIZAÇÃO Totvs custom tabs box |
---|
tabs | Envio,Retorno |
---|
ids | envio3,retorno3 |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | envio3 |
---|
| Totvs custom tabs box |
---|
tabs | URL,Body,Exemplo de requisição |
---|
ids | url3,body3,exemplo3 |
---|
| Totvs custom tabs box items |
---|
| |
Totvs custom tabs box items |
---|
| Bloco de código |
---|
| {
"companyDocument": "string",
"customerDocument": "string"
} |
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | exemplo3 |
---|
| URL
HEADER Authorization | Bearer {{token}} |
---|
BODY Bloco de código |
---|
| {
"companyDocument": "string",
"customerDocument": "string"
} |
|
|
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | retorno3 |
---|
| Totvs custom tabs box |
---|
tabs | Sucesso, Erro |
---|
ids | sucesso3,erro3 |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | sucesso3 |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 200 OK |
---|
linenumbers | true |
---|
| {
"success": true,
"data": 999999
} |
|
Totvs custom tabs box items |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 400. 401 e 404 |
---|
linenumbers | true |
---|
| {
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": {status code},
"traceId": {traceId},
"errors": {
[lista de erros]
}
} |
|
|
|
|
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | buscaroucadastrarCC |
---|
| 01. INTRODUÇÃORequisição que tem como finalidade buscar ou cadastrar uma conta corrente para o cliente. Realiza a busca baseado nos filtros e caso o registro não seja encontrado uma nova conta corrente será cadastrada para o cliente. 02. UTILIZAÇÃO Totvs custom tabs box |
---|
tabs | Envio,Retorno |
---|
ids | envio4,retorno4 |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | envio4 |
---|
| Totvs custom tabs box |
---|
tabs | URL,Body,Exemplo de requisição |
---|
ids | url4,body4,exemplo4 |
---|
| Totvs custom tabs box items |
---|
| |
Totvs custom tabs box items |
---|
| Bloco de código |
---|
| {
"companyDocument": "string",
"customerDocument": "string"
} |
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | exemplo4 |
---|
| URL
HEADER Authorization | Bearer {{token}} |
---|
BODY Bloco de código |
---|
| {
"companyDocument": "string",
"customerDocument": "string"
} |
|
|
|
Totvs custom tabs box items |
---|
default | no |
---|
referencia | retorno4 |
---|
| Totvs custom tabs box |
---|
tabs | Sucesso, Erro |
---|
ids | sucesso4,erro4 |
---|
| Totvs custom tabs box items |
---|
default | yes |
---|
referencia | sucesso4 |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 200 OK |
---|
linenumbers | true |
---|
| {
"success": true,
"data": 999999
} |
|
Totvs custom tabs box items |
---|
| Bloco de código |
---|
language | xml |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Status 400. 401 e 404 |
---|
linenumbers | true |
---|
| {
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": {status code},
"traceId": {traceId},
"errors": {
[lista de erros]
}
} |
|
|
|
|
|
|