POST api/InvDipReading/GenerateCode

Request Information

URI Parameters

None.

Body Parameters

InvDipReading
NameDescriptionTypeAdditional information
Id

integer

None.

TankId

integer

None.

DocNo

integer

None.

DocDate

date

None.

BooksStock

decimal number

None.

DipReadingStock

decimal number

None.

StockTakenBy

string

None.

ItemId

integer

None.

ItemUomId

integer

None.

Remarks

string

None.

EntryDate

date

None.

EntryUser

integer

None.

ModifyDate

date

None.

ModifyUser

integer

None.

ApprovedDate

date

None.

ApprovedUser

integer

None.

IsApproved

boolean

None.

OrganizationId

integer

None.

CompanyId

integer

None.

BranchesId

integer

None.

ProjectsId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TankId": 2,
  "DocNo": 3,
  "DocDate": "2025-10-29T13:17:27.0881732+05:00",
  "BooksStock": 5.0,
  "DipReadingStock": 6.0,
  "StockTakenBy": "sample string 7",
  "ItemId": 8,
  "ItemUomId": 9,
  "Remarks": "sample string 10",
  "EntryDate": "2025-10-29T13:17:27.0881732+05:00",
  "EntryUser": 12,
  "ModifyDate": "2025-10-29T13:17:27.0881732+05:00",
  "ModifyUser": 14,
  "ApprovedDate": "2025-10-29T13:17:27.0881732+05:00",
  "ApprovedUser": 15,
  "IsApproved": true,
  "OrganizationId": 17,
  "CompanyId": 18,
  "BranchesId": 19,
  "ProjectsId": 20
}

application/xml, text/xml

Sample:
<InvDipReading xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.Inventory">
  <ApprovedDate>2025-10-29T13:17:27.0881732+05:00</ApprovedDate>
  <ApprovedUser>15</ApprovedUser>
  <BooksStock>5</BooksStock>
  <BranchesId>19</BranchesId>
  <CompanyId>18</CompanyId>
  <DipReadingStock>6</DipReadingStock>
  <DocDate>2025-10-29T13:17:27.0881732+05:00</DocDate>
  <DocNo>3</DocNo>
  <EntryDate>2025-10-29T13:17:27.0881732+05:00</EntryDate>
  <EntryUser>12</EntryUser>
  <Id>1</Id>
  <IsApproved>true</IsApproved>
  <ItemId>8</ItemId>
  <ItemUomId>9</ItemUomId>
  <ModifyDate>2025-10-29T13:17:27.0881732+05:00</ModifyDate>
  <ModifyUser>14</ModifyUser>
  <OrganizationId>17</OrganizationId>
  <ProjectsId>20</ProjectsId>
  <Remarks>sample string 10</Remarks>
  <StockTakenBy>sample string 7</StockTakenBy>
  <TankId>2</TankId>
</InvDipReading>

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

Response Information

Resource Description

DataTable
NameDescriptionTypeAdditional information
CaseSensitive

boolean

None.

IsInitialized

boolean

None.

RemotingFormat

SerializationFormat

None.

ChildRelations

Collection of Object

None.

Columns

Collection of Object

None.

Constraints

Collection of Object

None.

DataSet

DataSet

None.

DefaultView

Collection of Object

None.

DisplayExpression

string

None.

ExtendedProperties

Dictionary of Object [key] and Object [value]

None.

HasErrors

boolean

None.

Locale

CultureInfo

None.

MinimumCapacity

integer

None.

ParentRelations

Collection of Object

None.

PrimaryKey

Collection of DataColumn

None.

Rows

Collection of Object

None.

TableName

string

None.

Namespace

string

None.

Prefix

string

None.

Site

ISite

None.

Container

IContainer

None.

DesignMode

boolean

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.