GET api/Contratos?codClienteSSNEventos={codClienteSSNEventos}
Retorna os tipos de atendimento (tabTiposDeEventosComCliente) com os 3 valores possíveis (por atendimento, mensal, total), para o bloco opcional "Atendimento vinculado" do contrato.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| codClienteSSNEventos |
Código do cliente SSN. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TipoDeEventoValor| Name | Description | Type | Additional information |
|---|---|---|---|
| IDEvento | integer |
None. |
|
| DescricaoEvento | string |
None. |
|
| Valor1DaSessao | decimal number |
None. |
|
| ValorMensal | decimal number |
None. |
|
| ValorTotalDoPlano | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IDEvento": 1,
"DescricaoEvento": "sample string 2",
"Valor1DaSessao": 3.0,
"ValorMensal": 4.0,
"ValorTotalDoPlano": 5.0
},
{
"IDEvento": 1,
"DescricaoEvento": "sample string 2",
"Valor1DaSessao": 3.0,
"ValorMensal": 4.0,
"ValorTotalDoPlano": 5.0
}
]
application/xml, text/xml
Sample:
<ArrayOfTipoDeEventoValor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webService2.Models">
<TipoDeEventoValor>
<DescricaoEvento>sample string 2</DescricaoEvento>
<IDEvento>1</IDEvento>
<Valor1DaSessao>3</Valor1DaSessao>
<ValorMensal>4</ValorMensal>
<ValorTotalDoPlano>5</ValorTotalDoPlano>
</TipoDeEventoValor>
<TipoDeEventoValor>
<DescricaoEvento>sample string 2</DescricaoEvento>
<IDEvento>1</IDEvento>
<Valor1DaSessao>3</Valor1DaSessao>
<ValorMensal>4</ValorMensal>
<ValorTotalDoPlano>5</ValorTotalDoPlano>
</TipoDeEventoValor>
</ArrayOfTipoDeEventoValor>