POST api/InvDipReading/Save

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:14:31.5257124+05:00",
  "BooksStock": 5.0,
  "DipReadingStock": 6.0,
  "StockTakenBy": "sample string 7",
  "ItemId": 8,
  "ItemUomId": 9,
  "Remarks": "sample string 10",
  "EntryDate": "2025-10-29T13:14:31.5257124+05:00",
  "EntryUser": 12,
  "ModifyDate": "2025-10-29T13:14:31.5257124+05:00",
  "ModifyUser": 14,
  "ApprovedDate": "2025-10-29T13:14:31.5257124+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:14:31.5257124+05:00</ApprovedDate>
  <ApprovedUser>15</ApprovedUser>
  <BooksStock>5</BooksStock>
  <BranchesId>19</BranchesId>
  <CompanyId>18</CompanyId>
  <DipReadingStock>6</DipReadingStock>
  <DocDate>2025-10-29T13:14:31.5257124+05:00</DocDate>
  <DocNo>3</DocNo>
  <EntryDate>2025-10-29T13:14:31.5257124+05:00</EntryDate>
  <EntryUser>12</EntryUser>
  <Id>1</Id>
  <IsApproved>true</IsApproved>
  <ItemId>8</ItemId>
  <ItemUomId>9</ItemUomId>
  <ModifyDate>2025-10-29T13:14:31.5257124+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

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>