POST api/v1/invTypeSave

Request Information

URI Parameters

None.

Body Parameters

SaveInvTypeInput
NameDescriptionTypeAdditional information
Mode

string

None.

InvTypeID

integer

None.

CompID

integer

None.

LocID

integer

None.

InvoiceName

string

None.

InvoiceHeading

string

None.

DependentOn

integer

None.

Dependency

string

None.

HSNCode

string

None.

CGSTPer

decimal number

None.

SGSTPer

decimal number

None.

AdditionalPer

decimal number

None.

FixedRate

integer

None.

InvFreqency

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "InvTypeID": 2,
  "CompID": 3,
  "LocID": 4,
  "InvoiceName": "sample string 5",
  "InvoiceHeading": "sample string 6",
  "DependentOn": 7,
  "Dependency": "sample string 8",
  "HSNCode": "sample string 9",
  "CGSTPer": 10.0,
  "SGSTPer": 11.0,
  "AdditionalPer": 12.0,
  "FixedRate": 13,
  "InvFreqency": "sample string 14"
}

application/xml, text/xml

Sample:
<SaveInvTypeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AdditionalPer>12</AdditionalPer>
  <CGSTPer>10</CGSTPer>
  <CompID>3</CompID>
  <Dependency>sample string 8</Dependency>
  <DependentOn>7</DependentOn>
  <FixedRate>13</FixedRate>
  <HSNCode>sample string 9</HSNCode>
  <InvFreqency>sample string 14</InvFreqency>
  <InvTypeID>2</InvTypeID>
  <InvoiceHeading>sample string 6</InvoiceHeading>
  <InvoiceName>sample string 5</InvoiceName>
  <LocID>4</LocID>
  <Mode>sample string 1</Mode>
  <SGSTPer>11</SGSTPer>
</SaveInvTypeInput>

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 'SaveInvTypeInput'.

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.