GET jxc_api/AccountSet/GetProdStock?prodId={prodId}&apId={apId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
prodId

integer

Required

apId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ProdStockModel
NameDescriptionTypeAdditional information
whId

integer

None.

whName

string

None.

stockNum

decimal number

None.

unitId

integer

None.

unitName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "whId": 1,
    "whName": "sample string 2",
    "stockNum": 3.0,
    "unitId": 4,
    "unitName": "sample string 5"
  },
  {
    "whId": 1,
    "whName": "sample string 2",
    "stockNum": 3.0,
    "unitId": 4,
    "unitName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProdStockModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models">
  <ProdStockModel>
    <stockNum>3</stockNum>
    <unitId>4</unitId>
    <unitName>sample string 5</unitName>
    <whId>1</whId>
    <whName>sample string 2</whName>
  </ProdStockModel>
  <ProdStockModel>
    <stockNum>3</stockNum>
    <unitId>4</unitId>
    <unitName>sample string 5</unitName>
    <whId>1</whId>
    <whName>sample string 2</whName>
  </ProdStockModel>
</ArrayOfProdStockModel>