POST api/StockOut/SaveStockList

Request Information

URI Parameters

None.

Body Parameters

StockOutContractListparam
NameDescriptionTypeAdditional information
ORGANIZATION_ID

integer

None.

TenantID

integer

None.

StockOutList

Collection of StockOutContract

None.

Request Formats

application/json, text/json

Sample:
{
  "ORGANIZATION_ID": 1,
  "TenantID": 2,
  "StockOutList": [
    {
      "ITEM_ID": 1,
      "ITEM_CODE": "sample string 2",
      "QUANTITY": 3.0,
      "UOM": "sample string 4",
      "ORGANIZATION_ID": 5,
      "SalesRepID": 6,
      "CREATION_DATE": "2025-11-08T16:05:09.5358805+05:00",
      "TenantID": 8
    },
    {
      "ITEM_ID": 1,
      "ITEM_CODE": "sample string 2",
      "QUANTITY": 3.0,
      "UOM": "sample string 4",
      "ORGANIZATION_ID": 5,
      "SalesRepID": 6,
      "CREATION_DATE": "2025-11-08T16:05:09.5358805+05:00",
      "TenantID": 8
    }
  ]
}

application/xml, text/xml

Sample:
<StockOutContractListparam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JashanMallAPI.DataContracts">
  <ORGANIZATION_ID>1</ORGANIZATION_ID>
  <StockOutList>
    <StockOutContract>
      <CREATION_DATE>2025-11-08T16:05:09.5358805+05:00</CREATION_DATE>
      <ITEM_CODE>sample string 2</ITEM_CODE>
      <ITEM_ID>1</ITEM_ID>
      <ORGANIZATION_ID>5</ORGANIZATION_ID>
      <QUANTITY>3</QUANTITY>
      <SalesRepID>6</SalesRepID>
      <TenantID>8</TenantID>
      <UOM>sample string 4</UOM>
    </StockOutContract>
    <StockOutContract>
      <CREATION_DATE>2025-11-08T16:05:09.5358805+05:00</CREATION_DATE>
      <ITEM_CODE>sample string 2</ITEM_CODE>
      <ITEM_ID>1</ITEM_ID>
      <ORGANIZATION_ID>5</ORGANIZATION_ID>
      <QUANTITY>3</QUANTITY>
      <SalesRepID>6</SalesRepID>
      <TenantID>8</TenantID>
      <UOM>sample string 4</UOM>
    </StockOutContract>
  </StockOutList>
  <TenantID>2</TenantID>
</StockOutContractListparam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StockOutResult
NameDescriptionTypeAdditional information
Data

StockOutResultContract

None.

StatusCode

string

None.

Message

string

None.

Status

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<StockOutResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JashanMallAPI.DataContracts">
  <Data>
    <GRVNumber>sample string 1</GRVNumber>
  </Data>
  <Message>sample string 2</Message>
  <Status>sample string 3</Status>
  <StatusCode>sample string 1</StatusCode>
</StockOutResult>