POST api/v1/AssetUsingReport/List

Request Information

URI Parameters

None.

Body Parameters

AssetUsingByStaffParamModel
NameDescriptionTypeAdditional information
StaffId

string

None.

AssetId

string

None.

FilterQuery

Dictionary of string [key] and Object [value]

None.

ScreenGUID

string

None.

DocumentWidth

integer

None.

Url

string

None.

OptionConfigsMore

Dictionary of string [key] and Object [value]

None.

QuerySearch

Dictionary of string [key] and Object [value]

None.

IsTestCase

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StaffId": "sample string 1",
  "AssetId": "sample string 2",
  "FilterQuery": null,
  "ScreenGUID": "sample string 3",
  "DocumentWidth": 4,
  "Url": "sample string 5",
  "OptionConfigsMore": null,
  "QuerySearch": null,
  "IsTestCase": true
}

application/xml, text/xml

Sample:
<AssetUsingByStaffParamModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <DocumentWidth xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">4</DocumentWidth>
  <FilterQuery xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <IsTestCase xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">true</IsTestCase>
  <OptionConfigsMore xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <QuerySearch xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models" />
  <ScreenGUID xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 3</ScreenGUID>
  <Url xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.BaseData.Models">sample string 5</Url>
  <AssetId>sample string 2</AssetId>
  <StaffId>sample string 1</StaffId>
</AssetUsingByStaffParamModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AssetUsingByStaffParamModel'.

Response Information

Resource Description

EzyResultObjectOfEzyDataSourceResultOfAssetUsingByStaffModel
NameDescriptionTypeAdditional information
Data

EzyDataSourceResultOfAssetUsingByStaffModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Data": [
      {
        "Id": "sample string 1",
        "StaffId": "sample string 2",
        "StaffName": "sample string 3",
        "AssetId": "sample string 4",
        "AssetItemUsing": "sample string 5",
        "EntDate": 1.1,
        "CollectDate": 1.1,
        "IsDisable": true,
        "Note": "sample string 7",
        "Status": 1,
        "AssetRefund": "sample string 8",
        "BelongTo": "sample string 9",
        "UI_StyleRow": {},
        "SETId": 1,
        "EntDate_Text": "sample string 11",
        "isSET": true,
        "LogoUrl": "sample string 13"
      },
      {
        "Id": "sample string 1",
        "StaffId": "sample string 2",
        "StaffName": "sample string 3",
        "AssetId": "sample string 4",
        "AssetItemUsing": "sample string 5",
        "EntDate": 1.1,
        "CollectDate": 1.1,
        "IsDisable": true,
        "Note": "sample string 7",
        "Status": 1,
        "AssetRefund": "sample string 8",
        "BelongTo": "sample string 9",
        "UI_StyleRow": {},
        "SETId": 1,
        "EntDate_Text": "sample string 11",
        "isSET": true,
        "LogoUrl": "sample string 13"
      }
    ],
    "DataTotal": [
      {
        "Id": "sample string 1",
        "StaffId": "sample string 2",
        "StaffName": "sample string 3",
        "AssetId": "sample string 4",
        "AssetItemUsing": "sample string 5",
        "EntDate": 1.1,
        "CollectDate": 1.1,
        "IsDisable": true,
        "Note": "sample string 7",
        "Status": 1,
        "AssetRefund": "sample string 8",
        "BelongTo": "sample string 9",
        "UI_StyleRow": {},
        "SETId": 1,
        "EntDate_Text": "sample string 11",
        "isSET": true,
        "LogoUrl": "sample string 13"
      },
      {
        "Id": "sample string 1",
        "StaffId": "sample string 2",
        "StaffName": "sample string 3",
        "AssetId": "sample string 4",
        "AssetItemUsing": "sample string 5",
        "EntDate": 1.1,
        "CollectDate": 1.1,
        "IsDisable": true,
        "Note": "sample string 7",
        "Status": 1,
        "AssetRefund": "sample string 8",
        "BelongTo": "sample string 9",
        "UI_StyleRow": {},
        "SETId": 1,
        "EntDate_Text": "sample string 11",
        "isSET": true,
        "LogoUrl": "sample string 13"
      }
    ],
    "ExtraData": {},
    "Errors": {},
    "Total": 2
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfEzyDataSourceResultOfAssetUsingByStaffModel3BwjWE5fUXXDg0Sb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.UI">
    <d2p1:Errors />
    <d2p1:ExtraData xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <d2p1:Total>2</d2p1:Total>
    <d2p1:Data xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:AssetUsingByStaffModel>
        <d3p1:AssetId>sample string 4</d3p1:AssetId>
        <d3p1:AssetItemUsing>sample string 5</d3p1:AssetItemUsing>
        <d3p1:AssetRefund>sample string 8</d3p1:AssetRefund>
        <d3p1:BelongTo>sample string 9</d3p1:BelongTo>
        <d3p1:CollectDate>1.1</d3p1:CollectDate>
        <d3p1:EntDate>1.1</d3p1:EntDate>
        <d3p1:EntDate_Text>sample string 11</d3p1:EntDate_Text>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsDisable>true</d3p1:IsDisable>
        <d3p1:LogoUrl>sample string 13</d3p1:LogoUrl>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SETId>1</d3p1:SETId>
        <d3p1:StaffId>sample string 2</d3p1:StaffId>
        <d3p1:StaffName>sample string 3</d3p1:StaffName>
        <d3p1:Status>1</d3p1:Status>
        <d3p1:UI_StyleRow />
        <d3p1:isSET>true</d3p1:isSET>
      </d3p1:AssetUsingByStaffModel>
      <d3p1:AssetUsingByStaffModel>
        <d3p1:AssetId>sample string 4</d3p1:AssetId>
        <d3p1:AssetItemUsing>sample string 5</d3p1:AssetItemUsing>
        <d3p1:AssetRefund>sample string 8</d3p1:AssetRefund>
        <d3p1:BelongTo>sample string 9</d3p1:BelongTo>
        <d3p1:CollectDate>1.1</d3p1:CollectDate>
        <d3p1:EntDate>1.1</d3p1:EntDate>
        <d3p1:EntDate_Text>sample string 11</d3p1:EntDate_Text>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsDisable>true</d3p1:IsDisable>
        <d3p1:LogoUrl>sample string 13</d3p1:LogoUrl>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SETId>1</d3p1:SETId>
        <d3p1:StaffId>sample string 2</d3p1:StaffId>
        <d3p1:StaffName>sample string 3</d3p1:StaffName>
        <d3p1:Status>1</d3p1:Status>
        <d3p1:UI_StyleRow />
        <d3p1:isSET>true</d3p1:isSET>
      </d3p1:AssetUsingByStaffModel>
    </d2p1:Data>
    <d2p1:DataTotal xmlns:d3p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
      <d3p1:AssetUsingByStaffModel>
        <d3p1:AssetId>sample string 4</d3p1:AssetId>
        <d3p1:AssetItemUsing>sample string 5</d3p1:AssetItemUsing>
        <d3p1:AssetRefund>sample string 8</d3p1:AssetRefund>
        <d3p1:BelongTo>sample string 9</d3p1:BelongTo>
        <d3p1:CollectDate>1.1</d3p1:CollectDate>
        <d3p1:EntDate>1.1</d3p1:EntDate>
        <d3p1:EntDate_Text>sample string 11</d3p1:EntDate_Text>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsDisable>true</d3p1:IsDisable>
        <d3p1:LogoUrl>sample string 13</d3p1:LogoUrl>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SETId>1</d3p1:SETId>
        <d3p1:StaffId>sample string 2</d3p1:StaffId>
        <d3p1:StaffName>sample string 3</d3p1:StaffName>
        <d3p1:Status>1</d3p1:Status>
        <d3p1:UI_StyleRow />
        <d3p1:isSET>true</d3p1:isSET>
      </d3p1:AssetUsingByStaffModel>
      <d3p1:AssetUsingByStaffModel>
        <d3p1:AssetId>sample string 4</d3p1:AssetId>
        <d3p1:AssetItemUsing>sample string 5</d3p1:AssetItemUsing>
        <d3p1:AssetRefund>sample string 8</d3p1:AssetRefund>
        <d3p1:BelongTo>sample string 9</d3p1:BelongTo>
        <d3p1:CollectDate>1.1</d3p1:CollectDate>
        <d3p1:EntDate>1.1</d3p1:EntDate>
        <d3p1:EntDate_Text>sample string 11</d3p1:EntDate_Text>
        <d3p1:Id>sample string 1</d3p1:Id>
        <d3p1:IsDisable>true</d3p1:IsDisable>
        <d3p1:LogoUrl>sample string 13</d3p1:LogoUrl>
        <d3p1:Note>sample string 7</d3p1:Note>
        <d3p1:SETId>1</d3p1:SETId>
        <d3p1:StaffId>sample string 2</d3p1:StaffId>
        <d3p1:StaffName>sample string 3</d3p1:StaffName>
        <d3p1:Status>1</d3p1:Status>
        <d3p1:UI_StyleRow />
        <d3p1:isSET>true</d3p1:isSET>
      </d3p1:AssetUsingByStaffModel>
    </d2p1:DataTotal>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfEzyDataSourceResultOfAssetUsingByStaffModel3BwjWE5fUXXDg0Sb>