POST api/Tax/AddorUpdateTax

Request Information

URI Parameters

None.

Body Parameters

TaxEntities
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Perc

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Perc": 3.0
}

text/html

Sample:
{"Id":1,"Name":"sample string 2","Perc":3.0}

application/xml, text/xml

Sample:
<TaxEntities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Meridukan_API.Entities.Tax">
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Perc>3</Perc>
</TaxEntities>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.