POST api/v1/FGStockTransferList

Request Information

URI Parameters

None.

Body Parameters

StockTransferListInput
NameDescriptionTypeAdditional information
FromLocID

integer

None.

ToLocID

integer

None.

TranType

string

None.

Srl

integer

None.

CompID

integer

None.

StockDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "FromLocID": 1,
  "ToLocID": 2,
  "TranType": "sample string 3",
  "Srl": 4,
  "CompID": 5,
  "StockDate": "2025-12-15T02:50:01.3899242+05:30"
}

application/xml, text/xml

Sample:
<StockTransferListInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <CompID>5</CompID>
  <FromLocID>1</FromLocID>
  <Srl>4</Srl>
  <StockDate>2025-12-15T02:50:01.3899242+05:30</StockDate>
  <ToLocID>2</ToLocID>
  <TranType>sample string 3</TranType>
</StockTransferListInput>

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

Response Information

Resource Description

Collection of StockTransferListIdModel
NameDescriptionTypeAdditional information
ItemID

integer

None.

ItemName

string

None.

Qty

decimal number

None.

StockDateTime

date

None.

ItemRate

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ItemID": 1,
    "ItemName": "sample string 2",
    "Qty": 3.0,
    "StockDateTime": "2025-12-15T02:50:01.413976+05:30",
    "ItemRate": 5.0
  },
  {
    "ItemID": 1,
    "ItemName": "sample string 2",
    "Qty": 3.0,
    "StockDateTime": "2025-12-15T02:50:01.413976+05:30",
    "ItemRate": 5.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfStockTransferListIdModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <StockTransferListIdModel>
    <ItemID>1</ItemID>
    <ItemName>sample string 2</ItemName>
    <ItemRate>5</ItemRate>
    <Qty>3</Qty>
    <StockDateTime>2025-12-15T02:50:01.413976+05:30</StockDateTime>
  </StockTransferListIdModel>
  <StockTransferListIdModel>
    <ItemID>1</ItemID>
    <ItemName>sample string 2</ItemName>
    <ItemRate>5</ItemRate>
    <Qty>3</Qty>
    <StockDateTime>2025-12-15T02:50:01.413976+05:30</StockDateTime>
  </StockTransferListIdModel>
</ArrayOfStockTransferListIdModel>