GET api/Assets/InventoryDetail?AccountId={AccountId}&Code={Code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AccountId

integer

Required

Code

string

Required

Body Parameters

None.

Response Information

Resource Description

ResponseOfbsAssetModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ResultList

Collection of bsAssetModel

None.

Result

bsAssetModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ResultList": [
    {
      "ID": 1,
      "bsAccountId": 2,
      "AccountName": "sample string 3",
      "Code": "sample string 4",
      "AssetCode": "sample string 5",
      "LongName": "sample string 6",
      "Caption": "sample string 7",
      "isvalid": true,
      "Spec": "sample string 9",
      "Model": "sample string 10",
      "SubjectDept": "sample string 11",
      "UserDept": "sample string 12",
      "Position": "sample string 13",
      "UseDate": "2020-10-30T22:18:32.0232887+08:00",
      "LastInventoryDate": "2020-10-30T22:18:32.0232887+08:00",
      "InventoryResults": "sample string 16",
      "InventoryDesc": "sample string 17",
      "InventoryMan": "sample string 18",
      "InventoryDate": "2020-10-30T22:18:32.0232887+08:00",
      "InventoryQty": 20,
      "tpNomatchTypeid": 21
    },
    {
      "ID": 1,
      "bsAccountId": 2,
      "AccountName": "sample string 3",
      "Code": "sample string 4",
      "AssetCode": "sample string 5",
      "LongName": "sample string 6",
      "Caption": "sample string 7",
      "isvalid": true,
      "Spec": "sample string 9",
      "Model": "sample string 10",
      "SubjectDept": "sample string 11",
      "UserDept": "sample string 12",
      "Position": "sample string 13",
      "UseDate": "2020-10-30T22:18:32.0232887+08:00",
      "LastInventoryDate": "2020-10-30T22:18:32.0232887+08:00",
      "InventoryResults": "sample string 16",
      "InventoryDesc": "sample string 17",
      "InventoryMan": "sample string 18",
      "InventoryDate": "2020-10-30T22:18:32.0232887+08:00",
      "InventoryQty": 20,
      "tpNomatchTypeid": 21
    }
  ],
  "Result": {
    "ID": 1,
    "bsAccountId": 2,
    "AccountName": "sample string 3",
    "Code": "sample string 4",
    "AssetCode": "sample string 5",
    "LongName": "sample string 6",
    "Caption": "sample string 7",
    "isvalid": true,
    "Spec": "sample string 9",
    "Model": "sample string 10",
    "SubjectDept": "sample string 11",
    "UserDept": "sample string 12",
    "Position": "sample string 13",
    "UseDate": "2020-10-30T22:18:32.0232887+08:00",
    "LastInventoryDate": "2020-10-30T22:18:32.0232887+08:00",
    "InventoryResults": "sample string 16",
    "InventoryDesc": "sample string 17",
    "InventoryMan": "sample string 18",
    "InventoryDate": "2020-10-30T22:18:32.0232887+08:00",
    "InventoryQty": 20,
    "tpNomatchTypeid": 21
  }
}

application/xml, text/xml

Sample:
<ResponseOfbsAssetw2wUNamf xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StrongWebAPI">
  <Message>sample string 2</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Strong.ESB.SERP.Model">
    <d2p1:AccountName>sample string 3</d2p1:AccountName>
    <d2p1:AssetCode>sample string 5</d2p1:AssetCode>
    <d2p1:Caption>sample string 7</d2p1:Caption>
    <d2p1:Code>sample string 4</d2p1:Code>
    <d2p1:ID>1</d2p1:ID>
    <d2p1:InventoryDate>2020-10-30T22:18:32.0232887+08:00</d2p1:InventoryDate>
    <d2p1:InventoryDesc>sample string 17</d2p1:InventoryDesc>
    <d2p1:InventoryMan>sample string 18</d2p1:InventoryMan>
    <d2p1:InventoryQty>20</d2p1:InventoryQty>
    <d2p1:InventoryResults>sample string 16</d2p1:InventoryResults>
    <d2p1:LastInventoryDate>2020-10-30T22:18:32.0232887+08:00</d2p1:LastInventoryDate>
    <d2p1:LongName>sample string 6</d2p1:LongName>
    <d2p1:Model>sample string 10</d2p1:Model>
    <d2p1:Position>sample string 13</d2p1:Position>
    <d2p1:Spec>sample string 9</d2p1:Spec>
    <d2p1:SubjectDept>sample string 11</d2p1:SubjectDept>
    <d2p1:UseDate>2020-10-30T22:18:32.0232887+08:00</d2p1:UseDate>
    <d2p1:UserDept>sample string 12</d2p1:UserDept>
    <d2p1:bsAccountId>2</d2p1:bsAccountId>
    <d2p1:isvalid>true</d2p1:isvalid>
    <d2p1:tpNomatchTypeid>21</d2p1:tpNomatchTypeid>
  </Result>
  <ResultList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Strong.ESB.SERP.Model">
    <d2p1:bsAsset>
      <d2p1:AccountName>sample string 3</d2p1:AccountName>
      <d2p1:AssetCode>sample string 5</d2p1:AssetCode>
      <d2p1:Caption>sample string 7</d2p1:Caption>
      <d2p1:Code>sample string 4</d2p1:Code>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:InventoryDate>2020-10-30T22:18:32.0232887+08:00</d2p1:InventoryDate>
      <d2p1:InventoryDesc>sample string 17</d2p1:InventoryDesc>
      <d2p1:InventoryMan>sample string 18</d2p1:InventoryMan>
      <d2p1:InventoryQty>20</d2p1:InventoryQty>
      <d2p1:InventoryResults>sample string 16</d2p1:InventoryResults>
      <d2p1:LastInventoryDate>2020-10-30T22:18:32.0232887+08:00</d2p1:LastInventoryDate>
      <d2p1:LongName>sample string 6</d2p1:LongName>
      <d2p1:Model>sample string 10</d2p1:Model>
      <d2p1:Position>sample string 13</d2p1:Position>
      <d2p1:Spec>sample string 9</d2p1:Spec>
      <d2p1:SubjectDept>sample string 11</d2p1:SubjectDept>
      <d2p1:UseDate>2020-10-30T22:18:32.0232887+08:00</d2p1:UseDate>
      <d2p1:UserDept>sample string 12</d2p1:UserDept>
      <d2p1:bsAccountId>2</d2p1:bsAccountId>
      <d2p1:isvalid>true</d2p1:isvalid>
      <d2p1:tpNomatchTypeid>21</d2p1:tpNomatchTypeid>
    </d2p1:bsAsset>
    <d2p1:bsAsset>
      <d2p1:AccountName>sample string 3</d2p1:AccountName>
      <d2p1:AssetCode>sample string 5</d2p1:AssetCode>
      <d2p1:Caption>sample string 7</d2p1:Caption>
      <d2p1:Code>sample string 4</d2p1:Code>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:InventoryDate>2020-10-30T22:18:32.0232887+08:00</d2p1:InventoryDate>
      <d2p1:InventoryDesc>sample string 17</d2p1:InventoryDesc>
      <d2p1:InventoryMan>sample string 18</d2p1:InventoryMan>
      <d2p1:InventoryQty>20</d2p1:InventoryQty>
      <d2p1:InventoryResults>sample string 16</d2p1:InventoryResults>
      <d2p1:LastInventoryDate>2020-10-30T22:18:32.0232887+08:00</d2p1:LastInventoryDate>
      <d2p1:LongName>sample string 6</d2p1:LongName>
      <d2p1:Model>sample string 10</d2p1:Model>
      <d2p1:Position>sample string 13</d2p1:Position>
      <d2p1:Spec>sample string 9</d2p1:Spec>
      <d2p1:SubjectDept>sample string 11</d2p1:SubjectDept>
      <d2p1:UseDate>2020-10-30T22:18:32.0232887+08:00</d2p1:UseDate>
      <d2p1:UserDept>sample string 12</d2p1:UserDept>
      <d2p1:bsAccountId>2</d2p1:bsAccountId>
      <d2p1:isvalid>true</d2p1:isvalid>
      <d2p1:tpNomatchTypeid>21</d2p1:tpNomatchTypeid>
    </d2p1:bsAsset>
  </ResultList>
  <Success>true</Success>
</ResponseOfbsAssetw2wUNamf>