POST api/Services/AddUpdateStock

Request Information

URI Parameters

None.

Body Parameters

Mst_Stock
NameDescriptionTypeAdditional information
Id

integer

None.

StoreId

integer

None.

PriceListId

integer

None.

ProductId

integer

None.

Unit

integer

None.

CNF

decimal number

None.

FAT

decimal number

None.

CLR

decimal number

None.

Qty

decimal number

None.

Rate

decimal number

None.

TotalAmount

decimal number

None.

Type

string

None.

FromStore

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdateBy

integer

None.

UpdateDate

date

None.

IsActive

boolean

None.

IsDelete

boolean

None.

SpecificFile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StoreId": 2,
  "PriceListId": 3,
  "ProductId": 4,
  "Unit": 5,
  "CNF": 6.1,
  "FAT": 7.1,
  "CLR": 8.1,
  "Qty": 9.1,
  "Rate": 10.1,
  "TotalAmount": 11.1,
  "Type": "sample string 12",
  "FromStore": 13,
  "CreatedBy": 14,
  "CreatedDate": "2024-12-23T04:09:33.3632511+05:30",
  "UpdateBy": 16,
  "UpdateDate": "2024-12-23T04:09:33.3632511+05:30",
  "IsActive": true,
  "IsDelete": true,
  "SpecificFile": "sample string 20"
}

text/html, multipart/form-data

Sample:
{"Id":1,"StoreId":2,"PriceListId":3,"ProductId":4,"Unit":5,"CNF":6.1,"FAT":7.1,"CLR":8.1,"Qty":9.1,"Rate":10.1,"TotalAmount":11.1,"Type":"sample string 12","FromStore":13,"CreatedBy":14,"CreatedDate":"2024-12-23T04:09:33.3632511+05:30","UpdateBy":16,"UpdateDate":"2024-12-23T04:09:33.3632511+05:30","IsActive":true,"IsDelete":true,"SpecificFile":"sample string 20"}

application/xml, text/xml

Sample:
<Mst_Stock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataBase">
  <CLR>8.1</CLR>
  <CNF>6.1</CNF>
  <CreatedBy>14</CreatedBy>
  <CreatedDate>2024-12-23T04:09:33.3632511+05:30</CreatedDate>
  <FAT>7.1</FAT>
  <FromStore>13</FromStore>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsDelete>true</IsDelete>
  <PriceListId>3</PriceListId>
  <ProductId>4</ProductId>
  <Qty>9.1</Qty>
  <Rate>10.1</Rate>
  <SpecificFile>sample string 20</SpecificFile>
  <StoreId>2</StoreId>
  <TotalAmount>11.1</TotalAmount>
  <Type>sample string 12</Type>
  <Unit>5</Unit>
  <UpdateBy>16</UpdateBy>
  <UpdateDate>2024-12-23T04:09:33.3632511+05:30</UpdateDate>
</Mst_Stock>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponce
NameDescriptionTypeAdditional information
Status

string

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Data": {}
}

text/html, multipart/form-data

Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers">
  <Data />
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</APIResponce>