POST LinhaVT/AdicionarLinhaVT
Request Information
URI Parameters
None.
Body Parameters
LinhaVTModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| NomeLinha | string |
None. |
|
| ValorLinha | decimal number |
None. |
|
| OperadoraVTId | integer |
None. |
|
| OperadoraVT | OperadoraVTModel |
None. |
|
| DataCadastro | date |
None. |
|
| EmpresasSelected | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"NomeLinha": "sample string 2",
"ValorLinha": 3.0,
"OperadoraVTId": 4,
"OperadoraVT": {
"Id": 1,
"Nome": "sample string 2",
"OperadoraVTBandeiraCartaoId": 3,
"OperadoraVTBandeiraCartao": {
"Id": 1,
"Nome": "sample string 2",
"DataCadastro": "2025-12-27T15:27:40.2836688-03:00"
},
"OperadoraVTTarifaTipoId": 4,
"OperadoraVTTarifaTipo": {
"Id": 1,
"Nome": "sample string 2"
},
"DataCadastro": "2025-12-27T15:27:40.2836688-03:00"
},
"DataCadastro": "2025-12-27T15:27:40.2836688-03:00",
"EmpresasSelected": [
1,
2
]
}
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.