Hello everyone,

Someone can help me, I'm testing connection with the system using WEB API, but I can not find information about the parameters I have to send to the methods:

POST /api/token
POST /api/distribui

I know is a json, but I do not know the name of parameters

Thank a lot.

9 dias depois

POST /api/token

FormData:

  • grant_type: password
  • client_id: generated in admin area
  • client_secret: generated in admin area
  • username: valid username
  • password: valid password

POST /api/distribui

JSON

{
    "unidade": unityId,
    "servico": serviceId,
    "prioridade": priorityId,
    "cliente": {
        "nome": "customerId",
        "documento": "customerName"
    }
}
    um mês depois