POST v1/Tributo/Salvar
Request Information
URI Parameters
None.
Body Parameters
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 |
Request 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
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |