curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/Pessoa/SalvarSocios \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '{
  "dtos": [
    {
      "codigo": "<string>",
      "nome": "<string>",
      "documentoFederal": "<string>",
      "rg": "<string>",
      "rgOrgao": "<string>",
      "rguf": "<string>",
      "rgData": "2023-11-07T05:31:56Z",
      "dtNascimento": "2023-11-07T05:31:56Z",
      "percCota": 4999.95,
      "estadoCivil": 4999,
      "tipoUniao": 4999,
      "nomeConjuge": "<string>",
      "cpfConjuge": "<string>",
      "rgConjuge": "<string>",
      "dtNascimentoConjuge": "2023-11-07T05:31:56Z",
      "mostrarSocioCCB": true,
      "mostrarConjugeCCB": true,
      "fielDepositario": true,
      "terceiroGarantidor": true,
      "cep": "<string>",
      "logradouro": "<string>",
      "nroLogradouro": "<string>",
      "bairro": "<string>",
      "complemento": "<string>",
      "cidade": "<string>",
      "uf": "<string>",
      "dtFundacao": "2023-11-07T05:31:56Z",
      "dtEntradaSocio": "2023-11-07T05:31:56Z",
      "nacionalidade": "<string>",
      "naturalDeCidade": "<string>",
      "naturalDeUF": "<string>",
      "telefone": "<string>",
      "celular": "<string>",
      "email": "<string>",
      "telefoneConjuge": "<string>",
      "celularConjuge": "<string>",
      "emailConjuge": "<string>"
    }
  ],
  "param": {
    "documentoCliente": "<string>"
  }
}'
{
  "msg": "<string>",
  "hasError": true,
  "messages": [
    {
      "messageType": 1,
      "code": "<string>",
      "context": "<string>",
      "description": "<string>",
      "field": "<string>"
    }
  ],
  "results": [
    {
      "msg": "<string>",
      "hasError": true,
      "messages": [
        {
          "messageType": 1,
          "code": "<string>",
          "context": "<string>",
          "description": "<string>",
          "field": "<string>"
        }
      ],
      "codigo": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Through this endpoint, the partner includes or updates records of partners for a specific client. To update, it is necessary to send the “código” field, filled with the record code in the BMP database, or the search will be done through the “DocumentoFederal” field.

Authorizations

Authorization
string
header
required

Informe o token

Headers

IdempotencyKey
string
required

Body

dtos
object[] | null
param
object

Response

200
text/plain
OK
msg
string | null
hasError
boolean
messages
object[] | null
results
object[] | null

Was this page helpful?