Introduction
Welcome to the generated API reference.
Do you use Postman? Great.
Get Postman Collection
Get Postman Environment
Header
Header | Value | When should I send? |
---|---|---|
Accept | application/json | All requests |
Content-Type | application/x-www-form-urlencoded | Must send when passing query string in request body |
Content-Type | application/json | Must send when passing json in request body |
Content-Type | multipart/form-data | Must send when passing files in request body |
Authorization | Bearer access_token |
Whenever the resource requires an authenticated user |
Language | language |
All requests |
Controlling requests
All API requests are limited to prevent abuse and ensure stability.
The limit is usually 120 requests every 1 minute. But each route can have its own limit.
You can always check the response header to have a status of available requests:
X-RateLimit-Limit → 120
X-RateLimit-Remaining → 25
Errors
API uses the following error codes:
Error Code | Meaning |
---|---|
400 | Bad Request -- Your request sucks |
401 | Unauthorized -- Your API key is wrong |
403 | Forbidden -- You are not authorized or do not have permission to access |
404 | Not Found -- The specified page can not be found |
405 | Method Not Allowed -- Method not allowed for this request |
406 | Not Acceptable -- You have requested a format that is not valid |
410 | Gone -- The target resource is no longer available |
413 | Payload Too Large -- Request payload is larger than the server is willing or able to process |
422 | Unprocessable Entity -- Validation error, the given data was invalid |
429 | Too Many Requests -- You have sent too many requests in a certain amount of time ("rate limiting") |
500 | Internal Server Error -- We had a problem with our server. Try again later. |
503 | Service Unavailable -- We're temporarially offline for maintanance. Please try again later. |
A ABCCMM
Privacy policy
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/privacy-policy",
"headers": {
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/privacy-policy
No authentication required
Terms of use
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/terms-of-use",
"headers": {
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/terms-of-use
No authentication required
Contatos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/contatos",
"headers": {
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"cadastro": "telefone",
"compras": "telefone",
"eventos": "telefone",
"financeiro": "telefone",
"imprensa": "telefone",
"informatica": "telefone",
"mangalarga_marchador_para_todos": "telefone",
"mangalarga_marchador_tv": "telefone",
"museu_marchador_tv": "telefone",
"museu_mangalarga_marchador": "telefone",
"outros_assuntos": "telefone",
"presidencia": "telefone",
"protocolo": "telefone",
"publicidade": "telefone",
"superintendencia": "telefone"
}
HTTP Request
GET api/v1/customer/institutional/contatos
No authentication required
Quem somos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/quem-somos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/quem-somos
Historia da Raça
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/historia-raca",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/historia-raca
Diretoria e conselhos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/diretoria-conselho",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/diretoria-conselho
Ex-presidentes
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/ex-presidentes",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/ex-presidentes
Estatutos e regulamentos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/estatutos-regulamentos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/estatutos-regulamentos
Núcleos regionais
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/institutional/nucleos-regionais",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/institutional/nucleos-regionais
Afixos
Get all Afixos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/afixos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/afixos
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Get Afixo
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/afixos/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/afixos/{id}
Animais
Get all Animais
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/animais",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/animais
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Get Animal
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/animais/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/animais/{id}
Area Restrita
Setor SRG
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/area-restrita/cadastro/srg",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/area-restrita/cadastro/srg
Setor Comunicação
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/area-restrita/cadastro/comunicacao",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/area-restrita/cadastro/comunicacao
Setor Eventos
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/area-restrita/cadastro/eventos",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/area-restrita/cadastro/eventos
Associados
Get all Associados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/associados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/associados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome | string | string |
Get Associado
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/associados/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/associados/{id}
Authentication
Login
5 login attempts can be performed every 1 minute.
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/auth/login",
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"codigo": "Maiores consequatur non delectus qui.",
"password": "CXZJhVPK1X",
"token_name": "My Computer"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"token_type": "Bearer",
"access_token": "eyJ0eXAiOiJ..."
}
HTTP Request
POST api/v1/customer/auth/login
No authentication required
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
codigo | string | required|string | |
password | string | required|string|min:6 | |
token_name | string | required|string|max:191 | Client app name |
Email recuperar senha
Envia o link para o usuario para resetar
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/auth/password/recovery",
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"codigo": "Nulla aut cum et."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"message": "Success message"
}
HTTP Request
POST api/v1/customer/auth/password/recovery
No authentication required
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
codigo | string | required|string |
Recuperar a senha (envio do formulario)
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/auth/password/reset",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"token": "Blanditiis commodi qui cum.",
"codigo": "Corporis facilis et eum a ducimus quasi.",
"password": "my_current_password",
"password_confirmation": "my_new_password"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
HTTP Request
POST api/v1/customer/auth/password/reset
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
token | string | required|string | |
codigo | string | required|string | |
password | string | required|string|min:6 | Current password |
password_confirmation | string | required|string|min:6 | Confirmation, must equal password |
Logout
Example request:
const axios = require('axios');
axios({
"method": "delete",
"url": "https://api.abccmm.com.br/api/v1/customer/auth/logout",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
HTTP Request
DELETE api/v1/customer/auth/logout
Pegar usuario logado
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/auth/user",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/auth/user
Alterar senha (usuario logado)
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/auth/change-password",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"password": "my_current_password",
"password_new": "my_new_password",
"password_new_confirmation": "my_new_password"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
HTTP Request
POST api/v1/customer/auth/change-password
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
password | string | required|string|min:6 | Current password |
password_new | string | required|string|min:6 | New password |
password_new_confirmation | string | required|string|min:6 | Confirmation, must equal password_new |
Censo 2012
Informações do censo 2012
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/censo/consultar",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/censo/consultar
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
numero_cadastro | string | string | |
nome | string | string |
Classificados
Inserir classificados
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/classificados/animais",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"anuncios_regras": "anuncios_regras",
"campo_regra": "campo_regra",
"data": "Debitis maxime ullam dignissimos.",
"tipo": "Animais",
"cidade": "cidade",
"uf": "uf",
"titulo": "titulo",
"selecionar": "Livro",
"animal": "animal",
"chip": "chip",
"valor": "valor",
"descricao": "descricao",
"url_youtube": "url_youtube",
"images[]": "{file}"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/classificados/animais
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
anuncios_regras | string | string | |
campo_regra | string | string | |
data | ano | string | static(2019-07-29) ISO 8601 Y-m-d |
tipo | string | string | Available values: Animais Cobertura Embrião |
cidade | string | string | |
uf | string | string | |
titulo | string | string | |
selecionar | string | string | Available values: Livro Registro |
animal | string | string | |
chip | string | string | |
valor | string | string | |
descricao | string | string | |
url_youtube | string | string | |
images[] | file | required|mimes:jpeg,jpg,png|max:4000|min:1 |
Editar anuncios
Example request:
const axios = require('axios');
axios({
"method": "put",
"url": "https://api.abccmm.com.br/api/v1/customer/classificados/animais/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"anuncios_regras": "anuncios_regras",
"campo_regra": "campo_regra",
"data": "Soluta dicta nemo harum.",
"tipo": "Animais",
"cidade": "cidade",
"uf": "uf",
"titulo": "titulo",
"selecionar": "Livro",
"animal": "animal",
"chip": "chip",
"valor": "valor",
"descricao": "descricao",
"url_youtube": "url_youtube",
"images[]": "{file}"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
PUT api/v1/customer/classificados/animais/{id}
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
anuncios_regras | string | string | |
campo_regra | string | string | |
data | ano | string | static(2019-07-29) ISO 8601 Y-m-d |
tipo | string | string | Available values: Animais Cobertura Embrião |
cidade | string | string | |
uf | string | string | |
titulo | string | string | |
selecionar | string | string | Available values: Livro Registro |
animal | string | string | |
chip | string | string | |
valor | string | string | |
descricao | string | string | |
url_youtube | string | string | |
images[] | file | required|mimes:jpeg,jpg,png|max:4000|min:1 |
Cobricao
Get Pesquisas de associados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/cobricao/consultar/associados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/cobricao/consultar/associados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome | string | string | |
cadastro | string | string |
buscar protocolo
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/cobricao/consultar/protocolo",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/cobricao/consultar/protocolo
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
protocolo | string | string | |
ano | string | string | ISO 8601 Y-m-d |
data_entrada | string | string | ISO 8601 Y |
data_postagem | string | string | ISO 8601 Y |
os | string | string | |
origem | string | string |
buscar gestacao
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/cobricao/consultar/gestacao",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/cobricao/consultar/gestacao
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
tipo_gestacao | string | string | Available values: Natural Transferência de embrião |
subtipo_gestacao | string | string | Available values: Montana natural Sêmen fresco Sêmen resfriado Sêmen congelado |
nome_veterinario | string | string | |
data_primeira_cobricao | string | string | ISO 8601 Y-m-d |
buscar animais envolvidos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/cobricao/consultar/animais_envolvidos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/cobricao/consultar/animais_envolvidos
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
tipo_animal | string | string | Available values: Garanhão Égua Receptora |
registro | string | string | |
livro | string | string | |
nome | string | string | |
chip | string | string |
Comunicado
Formulario fale conosco
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/comunicado/cadastrar/formulario",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"matricula": "Occaecati modi saepe ut molestias amet laudantium.",
"solicitante": "Nulla vitae eius pariatur iste sint dolores est.",
"telefone": "Quia perferendis mollitia optio quasi.",
"email": "dominato.mariah@example.net",
"setor": "setor",
"assunto": "Vitae ipsa sed eum nam est illo repellendus.",
"descricao": "Officiis quam et sint."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/comunicado/cadastrar/formulario
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
matricula | string | required|string | |
solicitante | string | required|string | |
telefone | string | required|string | |
required|email | |||
setor | string | string | Available values: Arquivo Boutique Cadastro Chancela de leilões Comercial Comissão eleitoral Compras CPD Diretoria Esportes Eventos Financeiro Jornalismo Jurídico Livro aberto Marchador para todos Marchador pela vida MMTV Protocolo Relacionamento Solicitação de cursos Solicitação de abertura de chamado SRG Superintendência |
assunto | string | required|string | |
descricao | string | required|string |
Consultas
editar contato
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/editar/contato",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"telefone_ddd": "Quibusdam numquam sit error similique harum praesentium cupiditate.",
"telefone_numero": "Quaerat dignissimos qui reiciendis dignissimos quidem et et.",
"celular_ddd": "Vero eum atque earum quia et provident architecto.",
"celular_numero": "Vitae laboriosam eum porro debitis fuga minima blanditiis.",
"comercial_ddd": "Qui laudantium officia expedita vel.",
"comercial_numero": "Praesentium magnam officia quas commodi est.",
"email": "marinho.carlos@example.net"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/consultas/editar/contato
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
telefone_ddd | string | required|string | |
telefone_numero | string | required|string | |
celular_ddd | string | required|string | |
celular_numero | string | required|string | |
comercial_ddd | string | required|string | |
comercial_numero | string | required|string | |
required|email |
editar endereco
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/editar/endereco",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"numero": "1231",
"municipio": "Londrina",
"uf": "PR"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/consultas/editar/endereco
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
numero | string | required|string | |
municipio | string | required|string | |
uf | string | required|string |
Get dados pessoais
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/consultar/dados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/consultas/consultar/dados
Get fazendas
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/consultar/fazendas",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/consultas/consultar/fazendas
Get dependentes
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/consultar/dependentes",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/consultas/consultar/dependentes
Get procuradores
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/consultar/procuradores",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/consultas/consultar/procuradores
Get afixos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/consultar/afixos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/consultas/consultar/afixos
Get marca do criador
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/consultas/consultar/marca",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/consultas/consultar/marca
Cursos
Get all Cursos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/cursos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"data_curso": "valor",
"nome": "valor",
"periodo": "valor",
"local": "valor",
"cidade": "valor",
"data_inscricoes": "valor",
"duracao": "valor",
"contato": "valor"
}
]
}
HTTP Request
GET api/v1/customer/cursos
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Get Curso
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/cursos/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"data_curso": "valor",
"nome": "valor",
"periodo": "valor",
"local": "valor",
"cidade": "valor",
"data_inscricoes": "valor",
"duracao": "valor",
"contato": "valor"
}
HTTP Request
GET api/v1/customer/cursos/{id}
Documentos pendentes
get Nascimento (usuários com documentos pendentes)
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/documentos/consultar/nascimento/usuarios",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/documentos/consultar/nascimento/usuarios
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Nascimento (Aceitar/recusar)
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/documentos/inserir/nascimento/usuarios",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"aceita_nao_aceita": "1",
"motivo": "Est corporis et voluptas. Assumenda rerum sunt voluptatem ratione expedita. Officia quibusdam animi et molestias commodi numquam eum omnis. Ipsum distinctio voluptas sit."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/documentos/inserir/nascimento/usuarios
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
aceita_nao_aceita | integer | integer | Available values: 0 1 |
motivo | string | string|max:200 | HTML allowed |
get Cobrição (usuários com documentos pendentes)
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/documentos/consultar/cobricao/usuarios",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/documentos/consultar/cobricao/usuarios
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Cobrição (Aceitar/recusar)
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/documentos/inserir/cobricao/usuarios",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"aceita_nao_aceita": "1",
"motivo": "Quia vero provident facere. Consequatur veniam optio mollitia ipsa sed ut et. Velit pariatur rem rem modi consectetur."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/documentos/inserir/cobricao/usuarios
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
aceita_nao_aceita | integer | integer | Available values: 0 1 |
motivo | string | string|max:200 | HTML allowed |
get Transferência (usuários com documentos pendentes)
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/documentos/consultar/transferencia/usuarios",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/documentos/consultar/transferencia/usuarios
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Transferência (Aceitar/recusar)
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/documentos/inserir/transferencia/usuarios",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"aceita_nao_aceita": "1",
"motivo": "Voluptas recusandae sit non asperiores voluptatum voluptatibus ex. Enim et ea ut amet. Impedit quas qui placeat qui tempore. Quis exercitationem quia voluptates aut."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/documentos/inserir/transferencia/usuarios
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
aceita_nao_aceita | integer | integer | Available values: 0 1 |
motivo | string | string|max:200 | HTML allowed |
Eventos
Get all Eventos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/eventos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/eventos
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome | string | string | |
promotora | string | string | |
cidade | string | string |
Get Evento
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/eventos/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/eventos/{id}
Exportar dados
get Exportacao de dados (em .xls)
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/exportar/dados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"link": "link exportacao xls"
}
HTTP Request
GET api/v1/customer/exportar/dados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
tipo_dado | string | required|string | Available values: Plantel Condomínios do associado Animais em condomínio Premiação de animais em condomínio Premiação de associado |
Exposicao Nacional
Get all Exposições
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/exposicao",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"nome": "valor",
"periodo": "valor",
"resultados": "link arquivo.pdf",
"regulamento": "link arquivo.pdf",
"regras_valores": "link arquivo.pdf",
"catalogos": "link arquivo.pdf",
"leiloes": [
{
"campo": "valor"
}
],
"fotos": [
{
"imagem": "link imagem",
"ordenacao": 0
}
],
"informacoes": {
"campo": "valor"
}
}
]
}
HTTP Request
GET api/v1/customer/exposicao
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome_evento | string | string | |
periodo | string | string | ISO 8601 Y-m-d |
Get Exposição
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/exposicao/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"nome": "valor",
"periodo": "valor",
"informacoes": {
"campo": "valor"
},
"regulamento": "link arquivo.pdf",
"regras_valores": "link arquivo.pdf",
"catalogos": "link arquivo.pdf",
"leiloes": [
{
"campo": "valor"
}
],
"fotos": [
{
"imagem": "link imagem",
"ordenacao": 0
}
]
}
HTTP Request
GET api/v1/customer/exposicao/{id}
Filiacao
Enviar ficha de cadastro
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/ficha_cadastro",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"nome": "lorem",
"uf": "PR",
"estado_civil": "casado",
"sexo": "M",
"nascimento": "2019-07-29T00:00:00-03:00",
"telefone_ddd": "043",
"telefone_numero": "12311231",
"celular_ddd": "043",
"celular_numero": "12311231",
"comercial_ddd": "043",
"comercial_numero": "12311231",
"numero": "1231",
"endereco_municipio": "Londrina",
"endereco_uf": "PR",
"receber_cobranca": "Quis omnis quam error voluptatem excepturi facere quibusdam.",
"fazenda_incra": "1231",
"dependente_nascimento": "2019-07-29T00:00:00-03:00",
"dependente_sexo": "F",
"procurador_nascimento": "2019-07-29T00:00:00-03:00"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/ficha_cadastro
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
nome | string | required|string | |
uf | string | required|string | |
estado_civil | string | required|string | |
sexo | string | required|string | |
nascimento | string | required|string | ISO 8601 Y-m-d\TH:i:sP |
telefone_ddd | string | required|string | |
telefone_numero | string | required|string | |
celular_ddd | string | required|string | |
celular_numero | string | required|string | |
comercial_ddd | string | required|string | |
comercial_numero | string | required|string | |
numero | string | required|string | |
endereco_municipio | string | required|string | |
endereco_uf | string | required|string | |
receber_cobranca | boolean | required|boolean | false |
fazenda_incra | string | string | |
dependente_nascimento | string | string | ISO 8601 Y-m-d\TH:i:sP |
dependente_sexo | string | string | |
procurador_nascimento | string | string | ISO 8601 Y-m-d\TH:i:sP |
Verificar se nome da fazenda é unico
(1 = unico, 0 = ja existe)
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/ficha_cadastro/verificar/fazenda/{nome}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"unique": 1
}
HTTP Request
GET api/v1/customer/ficha_cadastro/verificar/fazenda/{nome}
Guia do haras
get dados da propriedade
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/guia-haras/consultar/propriedade",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/guia-haras/consultar/propriedade
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
Inserir convite
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/guia-haras/criar/convite",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"convite": "Voluptas sapiente et et ad dolorem. Consequatur voluptatem consequuntur sapiente reprehenderit non occaecati exercitationem. Eos vitae consequatur rerum. Qui non quia hic."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/guia-haras/criar/convite
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
convite | string | required|string|max:200 | HTML allowed |
Inserir texto sobre a fazenda
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/guia-haras/criar/texto-fazenda",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"texto": "Debitis et eum dolor cumque commodi. Recusandae minus laudantium sint. Voluptatem dicta quis rerum cumque voluptas non. Consequatur dolores doloremque a beatae."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/guia-haras/criar/texto-fazenda
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
texto | string | required|string|max:1360 | HTML allowed |
Inserir informacoes de como chegar na fazenda
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/guia-haras/criar/como-chegar",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"cep": "86200-000",
"endereco": "endereco",
"municipio": "Londrina",
"uf": "PR",
"responsavel": "responsavel",
"telefone": "telefone",
"site": "site",
"email": "email",
"latitude": "latitude",
"longitude": "longitude",
"texto": "Ullam ipsam ut iste explicabo qui a. Nisi tempore non esse. Consequatur voluptas omnis fuga cumque harum repellat eveniet. Fugiat dolorum iusto et animi."
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/guia-haras/criar/como-chegar
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
cep | string | required|string | |
endereco | string | required|string | |
municipio | string | required|string | |
uf | string | required|string | |
responsavel | string | required|string | |
telefone | string | required|string | |
site | string | required|string | |
required|email | |||
latitude | string | required|string | |
longitude | string | required|string | |
texto | string | required|string|max:400 | HTML allowed |
Enviar imagens
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/guia-haras/criar/fotos",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"images[]": "{file}"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/guia-haras/criar/fotos
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
images[] | file | required|mimes:jpeg,jpg,png|max:4000|min:1 |
criar eventos
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/guia-haras/criar/eventos",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3",
"nome": "nome",
"data_inicio": "2019-07-29T00:00:00-03:00",
"data_fim": "2019-07-29T00:00:00-03:00",
"telefone": "telefone",
"responsavel": "responsavel"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/guia-haras/criar/eventos
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
nome | string | required|string | |
data_inicio | string | string | ISO 8601 Y-m-d\TH:i:sP |
data_fim | string | string | ISO 8601 Y-m-d\TH:i:sP |
telefone | string | required|string | |
responsavel | string | required|string |
Haras
Get all Haras
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/haras",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"nome": "valor",
"texto": "valor",
"contatos": [
{
"telefone": "valor",
"email": "valor"
}
],
"eventos": [
{
"campo": "valor"
}
],
"imagem_principal": "link imagem",
"fotos": [
{
"imagem": "link imagem",
"ordenacao": 0
}
]
}
]
}
HTTP Request
GET api/v1/customer/haras
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome | string | string | |
cidade | string | string | |
estado | string | string | |
associado | string | string |
Get Haras
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/haras/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/haras/{id}
Leilao
Get all Leilões
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/leilao",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"link": "link do site"
}
]
}
HTTP Request
GET api/v1/customer/leilao
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
search | string | string | Search in the fields: nome |
Get Leilao
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/leilao/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"link": "link do site"
}
HTTP Request
GET api/v1/customer/leilao/{id}
Livro aberto
Inscrever animal
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/livro/cadastrar/animal",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"nome": "lorem",
"nascimento": "2019-07-29T00:00:00-03:00",
"sexo": "F",
"termo": "1"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/livro/cadastrar/animal
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
nome | string | required|string | |
nascimento | string | string | ISO 8601 Y-m-d\TH:i:sP |
sexo | string | required|string | |
termo | boolean | required|boolean |
Get tabela valores
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/livro/consultar/tabela",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/livro/consultar/tabela
Get relatorio de animais
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/livro/consultar/relatorios",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"arquivo": "link download pdf"
}
HTTP Request
GET api/v1/customer/livro/consultar/relatorios
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
Get inscricoes finalizadas
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/livro/consultar/inscricoes",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/livro/consultar/inscricoes
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
Get inscricoes nao finalizadas
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/livro/consultar/inscricoes_naofinalizadas",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/livro/consultar/inscricoes_naofinalizadas
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
Morte
Get Pesquisas de associados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/morte/consultar/associados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/morte/consultar/associados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome | string | string | |
cadastro | string | string |
buscar protocolo
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/morte/consultar/protocolo",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/morte/consultar/protocolo
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
protocolo | string | string | |
ano | string | string | ISO 8601 Y |
data_entrada | string | string | ISO 8601 Y-m-d |
data_postagem | string | string | ISO 8601 Y-m-d |
os | string | string | |
origem | string | string |
Get marca
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/morte/consultar/marca",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/morte/consultar/marca
buscar animais
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/morte/consultar/animais",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/morte/consultar/animais
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
livro | string | string | |
numero_registro | string | string | |
animal | string | string | |
chip | string | string | |
marca | string | string |
Cadastrar o motivo da baixa
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/morte/cadastrar/baixa",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"data": "2019-07-29",
"causa": "causa",
"observacao": "observacao"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/morte/cadastrar/baixa
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
data | string | string | ISO 8601 Y-m-d |
causa | string | string | |
observacao | string | string |
Get all animais mortos
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/morte/consultar/animais_mortos",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"nome": "valor"
}
]
}
HTTP Request
POST api/v1/customer/morte/consultar/animais_mortos
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Nascimento
Get Pesquisas de associados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/nascimento/consultar/associados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/nascimento/consultar/associados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome | string | string | |
cadastro | string | string |
buscar protocolo
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/nascimento/consultar/protocolo",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/nascimento/consultar/protocolo
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
protocolo | string | string | |
ano | string | string | ISO 8601 Y |
data_entrada | string | string | ISO 8601 Y-m-d |
data_postagem | string | string | ISO 8601 Y-m-d |
os | string | string | |
origem | string | string |
buscar local de reproducao
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/nascimento/consultar/local_reproducao",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/nascimento/consultar/local_reproducao
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
propriedade | string | string | |
municipio | string | string | |
tipo_cobricao | string | string |
Verificar se nome do produto é unico
(1 = unico, 0 = ja existe)
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/nascimento/consultar/nome/{nome}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"unique": 1
}
HTTP Request
GET api/v1/customer/nascimento/consultar/nome/{nome}
buscar produto
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/nascimento/consultar/produto",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/nascimento/consultar/produto
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
nome | string | string | |
nascimento | string | string | |
sexo | string | string | |
pai_nome | string | string | |
pai_livro | string | string | |
pai_registro | string | string | |
pai_chip | string | string | |
mae_nome | string | string | |
mae_livro | string | string | |
mae_registro | string | string | |
mae_chip | string | string | |
receptora_nome | string | string | |
receptora_livro | string | string | |
receptora_registro | string | string | |
receptora_chip | string | string |
Noticia
Get all Noticia
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/noticia",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/noticia
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Get Noticia
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/noticia/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/noticia/{id}
Plantel
get animais
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/plantel/consultar/animais",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/plantel/consultar/animais
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
registro | string | string | |
livro | string | string | |
nome | string | string | |
chip | string | string | |
sexo | string | string | |
todos | string | string | Available values: 1 0 |
bloqueados | string | string | Available values: 1 0 |
get Resumo
(total de animais, vivos, mortos, machos, fêmeas, não bloqueados, bloqueados)
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/plantel/consultar/resumo",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/plantel/consultar/resumo
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
Exportar relatorio
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/plantel/exportar/relatorio",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"arquivo": "link download pdf"
}
HTTP Request
GET api/v1/customer/plantel/exportar/relatorio
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
Ranking
Get all rankings
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/ranking",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/ranking
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
tipo_rank | string | string | |
ano | string | string | |
tipo_marcha | string | string | |
quantidade_registro | string | string | |
categoria | string | string | |
estado | string | string |
Get Ranking
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/ranking/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/ranking/{id}
Recebidos
buscar protocolo
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/recebidos/consultar/protocolo",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/recebidos/consultar/protocolo
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
numero_protocolo | string | string | |
ano | string | string | ISO 8601 Y |
buscar comunicações de cobrições
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/recebidos/consultar/cobricao",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/recebidos/consultar/cobricao
buscar impedimentos fisicos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/recebidos/consultar/impedimentos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/recebidos/consultar/impedimentos
buscar itens recusados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/recebidos/consultar/recusados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/recebidos/consultar/recusados
buscar itens aceitos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/recebidos/consultar/aceitos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/recebidos/consultar/aceitos
Regionalidade
get Grupos de atendentes
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/regionalidades/grupos_atendentes",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/regionalidades/grupos_atendentes
get Atendentes
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/regionalidades/atendentes",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
GET api/v1/customer/regionalidades/atendentes
Registros
Get all Animais
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/registros/consultar/animais",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/registros/consultar/animais
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
livros | integer | integer | Available values: id |
registros | string | string | |
nome | string | string | |
chip | integer | integer | Available values: id |
sexo | string | string | Available values: M F |
Get Livros
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/registros/consultar/livros",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/registros/consultar/livros
Get Chip
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/registros/consultar/chips",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/registros/consultar/chips
Get Laboratorio
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/registros/consultar/laboratorio",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"id": 1,
"campo": "valor"
}
HTTP Request
GET api/v1/customer/registros/consultar/laboratorio
Abrir chamado
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/registros/cadastrar/chamado",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"nome": "lorem",
"estado": "PR",
"laboratorio": "1"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"status": 204
}
HTTP Request
POST api/v1/customer/registros/cadastrar/chamado
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
nome | string | string | |
estado | string | string | |
laboratorio | integer | integer |
Relatorios
get Animais com pendencias
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/relatorios/animais/pendencias",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/relatorios/animais/pendencias
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
nome | string | string | |
nascimento | string | string | ISO 8601 Y-m-d |
sexo | string | string | |
pai | string | string | |
mae | string | string |
download relatorio de animais com pendencias
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/relatorios/animais/pendencias/download",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"link": "link pdf relatorio"
}
HTTP Request
GET api/v1/customer/relatorios/animais/pendencias/download
get Participações em condominios
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/relatorios/participacoes_condominios",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/relatorios/participacoes_condominios
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
ativo | string | string | |
extintos | string | string |
download relatorio de participações em condominios
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/relatorios/participacoes_condominios/download",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"link": "link pdf relatorio"
}
HTTP Request
GET api/v1/customer/relatorios/participacoes_condominios/download
Situação Financeira
get Titulos Abertos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/financeiros/consultar/titulos/abertos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/financeiros/consultar/titulos/abertos
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
get Titulos Quitados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/financeiros/consultar/titulos/quitados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"total_titulos": "valor",
"total_titulos_Abertos": "valor",
"total_creditos": "valor"
}
]
}
HTTP Request
GET api/v1/customer/financeiros/consultar/titulos/quitados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
get Titulos não faturados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/financeiros/consultar/titulos/naofaturados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/financeiros/consultar/titulos/naofaturados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
get segunda via boleto
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/financeiros/gerar/boleto",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
null
HTTP Request
GET api/v1/customer/financeiros/gerar/boleto
Enviar os dados do cartao para realizar pagamento
Example request:
const axios = require('axios');
axios({
"method": "post",
"url": "https://api.abccmm.com.br/api/v1/customer/financeiros/gerar/cartao",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"tipo_cartao": "tipo_cartao",
"nome": "nome",
"documento": "documento",
"numero_cartao": "numero_cartao",
"cvv_cartao": "cvv_cartao",
"ano": "ano",
"mes": "mes",
"bandeira": "bandeira"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"campo": "valor"
}
HTTP Request
POST api/v1/customer/financeiros/gerar/cartao
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
tipo_cartao | string | required|string | Available values: credito debito |
nome | string | required|string | |
documento | string | required|string | |
numero_cartao | string | required|string | |
cvv_cartao | string | required|string | |
ano | string | required|string | |
mes | string | required|string | |
bandeira | string | required|string |
Tecnicos
Get all Técnicos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/tecnicos",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"tecnico": {
"id": 1,
"campo": "valor"
},
"cidade": "valor",
"telefone": "valor"
}
]
}
HTTP Request
GET api/v1/customer/tecnicos
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
search | string | string | Search in the fields: nome |
Get Tecnicos
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/tecnicos/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"tecnico": {
"campo": "valor"
},
"cidade": "valor",
"telefone": "valor"
}
HTTP Request
GET api/v1/customer/tecnicos/{id}
Transferencia
Get Pesquisas de associados
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/transferencia/consultar/associados",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/transferencia/consultar/associados
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer | |
nome | string | string | |
cadastro | string | string |
buscar protocolo
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/transferencia/consultar/protocolo",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"id": 1,
"campo": "valor"
}
]
}
HTTP Request
GET api/v1/customer/transferencia/consultar/protocolo
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
protocolo | string | string | |
ano | string | string | ISO 8601 Y-m-d |
data_entrada | string | string | ISO 8601 Y |
data_postagem | string | string | ISO 8601 Y |
os | string | string | |
origem | string | string |
gerar contra-senha
Example request:
const axios = require('axios');
axios({
"method": "put",
"url": "https://api.abccmm.com.br/api/v1/customer/transferencia/cadastro/contrasenha",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
"Accept": "application/json",
"Language": "{language}"
},
"data": {
"id": "3"
}
})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"contrasenha": "valor"
}
HTTP Request
PUT api/v1/customer/transferencia/cadastro/contrasenha
Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
id | integer | required|integer | id do usuario logado |
Árbitros
Get all Árbitros
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/arbitros",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"itens": [
{
"arbitro": {
"id": 1,
"campo": "valor"
},
"cidade": "valor",
"telefone": "valor"
}
]
}
HTTP Request
GET api/v1/customer/arbitros
Query Parameters
Parameter | Type | Validation | Description |
---|---|---|---|
limit | integer | integer | Default: 20 Max: 100 |
page | integer | integer |
Get Árbitro
Example request:
const axios = require('axios');
axios({
"method": "get",
"url": "https://api.abccmm.com.br/api/v1/customer/arbitros/{id}",
"headers": {
"Authorization": "Bearer {access_token}",
"Accept": "application/json",
"Language": "{language}"
}})
.then(function (response) {
// handle success
console.log(response);
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// optional, always executed
});
Example response:
{
"arbitro": {
"id": 1,
"campo": "valor"
},
"cidade": "valor",
"telefone": "valor"
}
HTTP Request
GET api/v1/customer/arbitros/{id}