Criar departamento
Changed onCria um novo departamento de acordo com os dados fornecidos.
post/v1/api/department
Request
- Base URLhttps://api.nuvidio.com
- URLhttps://api.nuvidio.com/v1/api/department
- Authnone required
Request body
Response
200
Example response
{
"id": "6112a89e34a436171f05be96",
"name": "Novo departamento",
"identifier": "novo-departamento",
"businessTime": {
"timezone": -3,
"monday": [
{
"opening": 540,
"closing": 1080
}
],
"tuesday": [
{
"opening": 540,
"closing": 1080
}
],
"wednesday": [
{
"opening": 540,
"closing": 1080
}
],
"thursday": [
{
"opening": 540,
"closing": 1080
}
],
"friday": [
{
"opening": 540,
"closing": 1080
}
]
},
"priority": 1,
"type": 3,
"settings": {
"blockDirectLink": true,
"allowMissedCalls": true,
"blockWorkOvertime": true
},
"style": {
"logo": "https://www.nuvidio.com.br/wp-content/uploads/2020/06/nuvidio_horizontal_positivo-768x324.png",
"colors": {
"primary": "#bcb3b3",
"secondary": "#ff9500",
"background": "#ff9500"
},
"videos": {
"intro": "https://youtube.com/watch?v=ase231S12df",
"queue": "https://youtube.com/watch?v=ase231S12df"
},
"font": "Segoe UI",
"fontSize": 10,
"borderRadius": 10,
"textColor": "#ff9500"
},
"address": {
"location": {
"types": "Point",
"coordinates": [
-19.814294
]
},
"line1": "Av. Amazonas - 200, Centro",
"line2": "Apt. 500",
"district": "Centro",
"city": "Belo Horizonte",
"state": "MG",
"countryCode": "BR",
"postalCode": "30120050"
}
}Changes
- info
endpoint added
- info