| PUT | /taxablecategory | Update TaxableCategory Item |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | body | uint | No | |
| Name | body | string | No | |
| Description | body | string | No | |
| TypeId | body | uint | No | |
| VatTypeId | body | uint | No | |
| VatTypeName | body | string | No | |
| KindId | body | int | No | |
| KindName | body | string | No | |
| IsTaxableId | body | int | No | |
| IsTaxableName | body | string | No | |
| TaxableTypeId | body | int | No | |
| TaxableTypeName | body | string | No | |
| IsTaxable | body | bool | No | |
| IsTaxableValue | body | decimal | No | |
| IsTaxableDivided | body | bool | No | |
| IsTaxableDividedValue | body | decimal | No | |
| IncomeJpkDocTypeCode | body | string | No | |
| IncomeJpkDocTypeName | body | string | No | |
| IncomeJpkCodeCode | body | string | No | |
| IncomeJpkCodeName | body | string | No | |
| IncomeJpkProcedureCode | body | string | No | |
| IncomeJpkProcedureName | body | string | No | |
| IsFiscal | body | bool | No | |
| IsRetail | body | bool | No | |
| CostJpkDocTypeCode | body | string | No | |
| CostJpkDocTypeName | body | string | No | |
| CostJpkCodeCode | body | string | No | |
| CostJpkCodeName | body | string | No | |
| CostJpkProcedureCode | body | string | No | |
| CostJpkProcedureName | body | string | No | |
| OptimaTaxCategoryId | body | uint | No | |
| OptimaTaxCategoryName | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | T | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Code | form | string | No | |
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | Object | No | |
| IsSuccess | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /taxablecategory HTTP/1.1
Host: api.chmuradokumentow.pl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
id: 0,
name: String,
description: String,
typeId: 0,
vatTypeId: 0,
vatTypeName: String,
kindId: 0,
kindName: String,
isTaxableId: 0,
isTaxableName: String,
taxableTypeId: 0,
taxableTypeName: String,
isTaxable: False,
isTaxableValue: 0,
isTaxableDivided: False,
isTaxableDividedValue: 0,
incomeJpkDocTypeCode: String,
incomeJpkDocTypeName: String,
incomeJpkCodeCode: String,
incomeJpkCodeName: String,
incomeJpkProcedureCode: String,
incomeJpkProcedureName: String,
isFiscal: False,
isRetail: False,
costJpkDocTypeCode: String,
costJpkDocTypeName: String,
costJpkCodeCode: String,
costJpkCodeName: String,
costJpkProcedureCode: String,
costJpkProcedureName: String,
optimaTaxCategoryId: 0,
optimaTaxCategoryName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
id: 0,
code: FAIL,
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
},
result: {},
isSuccess: False
}