POST api/tax/insert
Request Information
URI Parameters
None.
Body Parameters
InsertTaxCategoryRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TaxCategoryID | integer |
None. |
|
| BranchID | integer |
None. |
|
| TaxCategoryName | string |
None. |
|
| SGST | decimal number |
None. |
|
| CGST | decimal number |
None. |
|
| IGST | decimal number |
None. |
|
| VAT | decimal number |
None. |
|
| SGSTLedgerID | integer |
None. |
|
| CGSTLedgerID | integer |
None. |
|
| IGSTLedgerID | integer |
None. |
|
| VATLedgerID | integer |
None. |
|
| Remarks | string |
None. |
|
| UserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TaxCategoryID": 1,
"BranchID": 2,
"TaxCategoryName": "sample string 3",
"SGST": 4.0,
"CGST": 5.0,
"IGST": 6.0,
"VAT": 7.0,
"SGSTLedgerID": 8,
"CGSTLedgerID": 9,
"IGSTLedgerID": 10,
"VATLedgerID": 11,
"Remarks": "sample string 12",
"UserID": 13
}
application/xml, text/xml
Sample:
<InsertTaxCategoryRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers"> <BranchID>2</BranchID> <CGST>5</CGST> <CGSTLedgerID>9</CGSTLedgerID> <IGST>6</IGST> <IGSTLedgerID>10</IGSTLedgerID> <Remarks>sample string 12</Remarks> <SGST>4</SGST> <SGSTLedgerID>8</SGSTLedgerID> <TaxCategoryID>1</TaxCategoryID> <TaxCategoryName>sample string 3</TaxCategoryName> <UserID>13</UserID> <VAT>7</VAT> <VATLedgerID>11</VATLedgerID> </InsertTaxCategoryRequestModel>
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.