GET v1/Tributo/Obter/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TributoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| tributo_id | integer |
Required |
|
| nome | string |
Required String length: inclusive between 3 and 60 |
|
| tipo_tributo | integer |
Required |
|
| cfop | string |
Required Matching regular expression pattern: \d{4} String length: inclusive between 4 and 4 |
|
| orig | integer |
Required Matching regular expression pattern: [0-8] |
|
| icms_cst | string |
Required String length: inclusive between 2 and 3 |
|
| icms_red_bc | decimal number |
Required |
|
| icms_aliq | decimal number |
Required |
|
| icms_mod_bc | string |
Required |
|
| pis_cst | string |
Required String length: inclusive between 0 and 2 |
|
| pis_aliq | decimal number |
Required |
|
| cofins_cst | string |
Required String length: inclusive between 0 and 2 |
|
| cofins_aliq | decimal number |
Required |
Response Formats
application/json, text/json
Sample:
{
"tributo_id": 1,
"nome": "sample string 1",
"tipo_tributo": 1,
"cfop": "sample string 2",
"orig": 1,
"icms_cst": "sample string 3",
"icms_red_bc": 1.0,
"icms_aliq": 1.0,
"icms_mod_bc": "sample string 4",
"pis_cst": "sample string 5",
"pis_aliq": 1.0,
"cofins_cst": "sample string 6",
"cofins_aliq": 1.0
}