POST api/Tools/BuildClosingStockValue

Request Information

URI Parameters

None.

Body Parameters

ClosingStockValueInputs
NameDescriptionTypeAdditional information
DBName

string

None.

BranchInternalCode

string

None.

UserInternalCode

string

None.

TransactionType

string

None.

BranchCodeList

string

None.

BranchNameList

string

None.

PeriodBasedOn

string

None.

SelectedFromDate

integer

None.

SelectedToDate

integer

None.

ValueCalculationMethod

string

None.

PriceTemplateCode

decimal number

None.

CalledFrom

string

None.

ImportData

DataTable

None.

ConsiderNegativeStock

boolean

None.

SkipExchangeItemModel

boolean

None.

IncludePurcharseTaxforStockValueCalculation

boolean

None.

SerialNumberBasedStockValueCalculation

boolean

None.

SerialNumberBasedStockValueCalculationApplicableonlyforExchangeItemModel

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "DBName": "sample string 1",
  "BranchInternalCode": "sample string 2",
  "UserInternalCode": "sample string 3",
  "TransactionType": "sample string 4",
  "BranchCodeList": "sample string 5",
  "BranchNameList": "sample string 6",
  "PeriodBasedOn": "sample string 7",
  "SelectedFromDate": 8,
  "SelectedToDate": 9,
  "ValueCalculationMethod": "sample string 10",
  "PriceTemplateCode": 11.1,
  "CalledFrom": "sample string 12",
  "ImportData": null,
  "ConsiderNegativeStock": true,
  "SkipExchangeItemModel": true,
  "IncludePurcharseTaxforStockValueCalculation": true,
  "SerialNumberBasedStockValueCalculation": true,
  "SerialNumberBasedStockValueCalculationApplicableonlyforExchangeItemModel": true
}

application/xml, text/xml

Sample:
<ClosingStockValueInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APXWebLibDataProvider.Models.Tools">
  <BranchCodeList>sample string 5</BranchCodeList>
  <BranchInternalCode>sample string 2</BranchInternalCode>
  <BranchNameList>sample string 6</BranchNameList>
  <CalledFrom>sample string 12</CalledFrom>
  <ConsiderNegativeStock>true</ConsiderNegativeStock>
  <DBName>sample string 1</DBName>
  <ImportData i:nil="true" />
  <IncludePurcharseTaxforStockValueCalculation>true</IncludePurcharseTaxforStockValueCalculation>
  <PeriodBasedOn>sample string 7</PeriodBasedOn>
  <PriceTemplateCode>11.1</PriceTemplateCode>
  <SelectedFromDate>8</SelectedFromDate>
  <SelectedToDate>9</SelectedToDate>
  <SerialNumberBasedStockValueCalculation>true</SerialNumberBasedStockValueCalculation>
  <SerialNumberBasedStockValueCalculationApplicableonlyforExchangeItemModel>true</SerialNumberBasedStockValueCalculationApplicableonlyforExchangeItemModel>
  <SkipExchangeItemModel>true</SkipExchangeItemModel>
  <TransactionType>sample string 4</TransactionType>
  <UserInternalCode>sample string 3</UserInternalCode>
  <ValueCalculationMethod>sample string 10</ValueCalculationMethod>
</ClosingStockValueInputs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.