POST api/TaxMaster/Create
Request Information
URI Parameters
None.
Body Parameters
TaxMaster_Add_Model| Name | Description | Type | Additional information |
|---|---|---|---|
| TaxID | integer |
None. |
|
| TaxCode | string |
None. |
|
| TaxName | string |
None. |
|
| Remarks | string |
None. |
|
| RateType | string |
None. |
|
| Rate | decimal number |
None. |
|
| IsCountryOrStateWise | integer |
None. |
|
| IsRoundOff | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| Child | Collection of TaxMaster_Child_Add_Model |
None. |
Request Formats
application/json, text/json
Sample:
{
"TaxID": 1,
"TaxCode": "sample string 2",
"TaxName": "sample string 3",
"Remarks": "sample string 4",
"RateType": "sample string 5",
"Rate": 6.0,
"IsCountryOrStateWise": 7,
"IsRoundOff": true,
"IsActive": true,
"Child": [
{
"TaxChildID": 1,
"CountryID": 2,
"StateID": 3,
"RateType": "sample string 4",
"Rate": 5.0
},
{
"TaxChildID": 1,
"CountryID": 2,
"StateID": 3,
"RateType": "sample string 4",
"Rate": 5.0
}
]
}
application/xml, text/xml
Sample:
<TaxMaster_Add_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP.Model.Master">
<Child>
<TaxMaster_Child_Add_Model>
<CountryID>2</CountryID>
<Rate>5</Rate>
<RateType>sample string 4</RateType>
<StateID>3</StateID>
<TaxChildID>1</TaxChildID>
</TaxMaster_Child_Add_Model>
<TaxMaster_Child_Add_Model>
<CountryID>2</CountryID>
<Rate>5</Rate>
<RateType>sample string 4</RateType>
<StateID>3</StateID>
<TaxChildID>1</TaxChildID>
</TaxMaster_Child_Add_Model>
</Child>
<IsActive>true</IsActive>
<IsCountryOrStateWise>7</IsCountryOrStateWise>
<IsRoundOff>true</IsRoundOff>
<Rate>6</Rate>
<RateType>sample string 5</RateType>
<Remarks>sample string 4</Remarks>
<TaxCode>sample string 2</TaxCode>
<TaxID>1</TaxID>
<TaxName>sample string 3</TaxName>
</TaxMaster_Add_Model>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.