POST Beneficio/SolicitaBeneficioDependente

Request Information

URI Parameters

None.

Body Parameters

BeneficioDependenteModel
NameDescriptionTypeAdditional information
Id

integer

None.

DependenteId

integer

None.

Dependente

DependenteModel

None.

BeneficioId

integer

None.

Beneficio

BeneficioModel

None.

SolicitacaoStatusId

integer

None.

SolicitacaoStatus

SolicitacaoBeneficioDependenteStatusModel

None.

DataSolicitacao

date

None.

DataConclusao

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DependenteId": 2,
  "Dependente": {
    "Id": 1,
    "Nome": "sample string 2",
    "CPF": "sample string 3",
    "Sexo": "sample string 4",
    "DataNascimento": "2025-12-27T15:28:30.3166681-03:00",
    "NomeMae": "sample string 6",
    "GrauDependencia": "sample string 7",
    "DocumentoNome": "sample string 8",
    "DocumentoBase64": "sample string 9",
    "ColaboradorId": 10,
    "TitularId": 11,
    "TitularNome": "sample string 12",
    "DataCadastro": "2025-12-27T15:28:30.3166681-03:00",
    "SalarioFamilia": true,
    "DependenteIR": true
  },
  "BeneficioId": 3,
  "Beneficio": {
    "Id": 1,
    "Nome": "sample string 2",
    "RegraDesconto": "sample string 3",
    "CustoBeneficio": 4.0,
    "BeneficioTipoId": 5,
    "BeneficioTipo": {
      "Id": 1,
      "Nome": "sample string 2"
    },
    "Erro": {
      "Codigo": 1,
      "Descricao": "sample string 2"
    },
    "DataCadastro": "2025-12-27T15:28:30.3166681-03:00",
    "EmpresasSelected": [
      1,
      2
    ]
  },
  "SolicitacaoStatusId": 4,
  "SolicitacaoStatus": {
    "Id": 1,
    "Nome": "sample string 2"
  },
  "DataSolicitacao": "2025-12-27T15:28:30.3176727-03:00",
  "DataConclusao": "2025-12-27T15:28:30.3176727-03:00"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[lurin.meurhonline.domain.model.BeneficioEmpresaModel, lurin.meurhonline.domain.model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[lurin.meurhonline.domain.model.BeneficioEmpresaModel, lurin.meurhonline.domain.model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BeneficioDependenteModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.