POST api/StockOut/SaveStock

Request Information

URI Parameters

None.

Body Parameters

StockOutContract
NameDescriptionTypeAdditional information
ITEM_ID

integer

None.

ITEM_CODE

string

None.

QUANTITY

decimal number

None.

UOM

string

None.

ORGANIZATION_ID

integer

None.

SalesRepID

integer

None.

CREATION_DATE

date

None.

TenantID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "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:
<StockOutContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JashanMallAPI.DataContracts">
  <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>

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>