POST api/v1/TallyHeadSave

Request Information

URI Parameters

None.

Body Parameters

TallyHeadSaveInput
NameDescriptionTypeAdditional information
CompID

integer

None.

LocID

integer

None.

TallyHeadID

integer

None.

TallyHead

string

None.

GSTPer

decimal number

None.

AccType

string

None.

Mode

string

None.

UOM

string

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompID": 1,
  "LocID": 2,
  "TallyHeadID": 3,
  "TallyHead": "sample string 4",
  "GSTPer": 5.0,
  "AccType": "sample string 6",
  "Mode": "sample string 7",
  "UOM": "sample string 8",
  "UserID": 9
}

application/xml, text/xml

Sample:
<TallyHeadSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AccType>sample string 6</AccType>
  <CompID>1</CompID>
  <GSTPer>5</GSTPer>
  <LocID>2</LocID>
  <Mode>sample string 7</Mode>
  <TallyHead>sample string 4</TallyHead>
  <TallyHeadID>3</TallyHeadID>
  <UOM>sample string 8</UOM>
  <UserID>9</UserID>
</TallyHeadSaveInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TallyHeadSaveInput'.

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.