POST api/TaxApi/Post_tax_for_save_update

Request Information

URI Parameters

None.

Body Parameters

Tax
NameDescriptionTypeAdditional information
TAXId

string

None.

TAXName

string

None.

CGSTPER

decimal number

None.

SGSTPER

decimal number

None.

IGSTPER

decimal number

None.

CessPer1

decimal number

None.

CessPer2

decimal number

None.

CessNonAdvol

decimal number

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TAXId": "sample string 1",
  "TAXName": "sample string 2",
  "CGSTPER": 3.0,
  "SGSTPER": 4.0,
  "IGSTPER": 5.0,
  "CessPer1": 6.0,
  "CessPer2": 7.0,
  "CessNonAdvol": 8.0,
  "Database": "sample string 9",
  "Compcode": "sample string 10",
  "EventType": "sample string 11"
}

application/xml, text/xml

Sample:
<Tax xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <CGSTPER>3</CGSTPER>
  <CessNonAdvol>8</CessNonAdvol>
  <CessPer1>6</CessPer1>
  <CessPer2>7</CessPer2>
  <Compcode>sample string 10</Compcode>
  <Database>sample string 9</Database>
  <EventType>sample string 11</EventType>
  <IGSTPER>5</IGSTPER>
  <SGSTPER>4</SGSTPER>
  <TAXId>sample string 1</TAXId>
  <TAXName>sample string 2</TAXName>
</Tax>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>