Service used to register, change and deactivate branches on Ahgora PontoWeb.
Batch sending allowed, maximum 1000 records per request, or 1mb (mega) |
Subsidiaries (Branch offices)
Item | Description |
|---|---|
| Flow: | Client → PontoWeb |
| Route | https://api.ahgora.com.br/subsidiaries |
| Method: | POST |
Subsidiaries (Branch offices) | ||||
| Field | Type | Required | Description | Rules |
| numeroCadastro | String | Yes | CNPJ number | No separators |
| razaoSocial | String | Yes | Company name | No separators |
| telefoneDDD | String | No | Area Code | Expected format: "DDD" |
| telefone | String | No | Telephone Number | No separators |
| cep | String | No | ZIP CODE | Expected format: XXXXXXXX No separators |
| endereco | String | No | Address | |
| complemento | String | No | Complement | |
| bairro | String | No | Neighborhood | |
| cidade | String | No | City | |
| estado | String | No | State | Valid two-digit acronym in lower case |
| pais | String | No | Country acronym | Default: 1058 For Brazil, use: 1058 |
| ativacao | String | No | Time clock activation at the branch office | Use true for yes and false for no Use CNPJ or CPF to activate Time Clocks. |
[
{
"numeroCadastro": "XXXXXXXX0001XX",
"razaoSocial": "Example Text",
"telefoneDDD": "XX",
"telefone": "XXXXXXXX",
"cep": "XXXXXXX",
"endereco": "Avenida XYZ",
"complemento": "número 0123, Setor A",
"bairro": "Example",
"cidade": "São Paulo",
"estado": "sp",
"pais": "1058",
"ativacao": true
}
] |
[
{
"numeroCadastro": "XXXXXXXX0001XX",
"razaoSocial": "Example Text",
"telefoneDDD": "XX",
"telefone": "XXXXXXXX",
"cep": "XXXXXXX",
"endereco": "Avenida XYZ",
"complemento": "número 0123, Setor A",
"bairro": "Example",
"cidade": "São Paulo",
"estado": "sp",
"pais": "1058",
"ativacao": false
}
] |
{
"company": "a000101",
"unique": "bd751350",
"message": "Subsidiaries Integration on progress"
} |
For more details, use the Process service. To find out more, click here. |
{
"message": "Request format must be an Array",
"code": 400
} |
{
"message": "Unauthorized",
"code": 401
} |
{
"error": {
"message": "Forbidden",
"code": 403
}
} |
Note: Check the user's permissions to access the route/service.