POST jxc_api/Vendor/SearchVend

Request Information

URI Parameters

None.

Body Parameters

VendorCondition
NameDescriptionTypeAdditional information
SearchText

string

None.

Status

boolean

None.

CategroryIds

Collection of integer

None.

AppAsId

string

None.

AccAsId

integer

None.

Ftype

integer

None.

CategoryKeyword

string

None.

PageIndex

integer

None.

PageSize

integer

None.

UsePager

boolean

None.

CurrUserSn

integer

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

DocumentDateType

integer

None.

DocumentDateArr

Collection of date

None.

DeliveryDateType

integer

None.

DeliveryDateArr

Collection of date

None.

OffDateType

integer

None.

OffDateArr

Collection of date

None.

InventoryDateType

integer

None.

InventoryDateArr

Collection of date

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchText": "sample string 1",
  "Status": true,
  "CategroryIds": [
    1,
    2
  ],
  "AppAsId": "sample string 3",
  "AccAsId": 4,
  "Ftype": 1020,
  "CategoryKeyword": "sample string 5",
  "PageIndex": 6,
  "PageSize": 7,
  "UsePager": true,
  "CurrUserSn": 9,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 12,
  "DocumentDateArr": [
    "2024-05-03 18:16:57",
    "2024-05-03 18:16:57"
  ],
  "DeliveryDateType": 13,
  "DeliveryDateArr": [
    "2024-05-03 18:16:57",
    "2024-05-03 18:16:57"
  ],
  "OffDateType": 14,
  "OffDateArr": [
    "2024-05-03 18:16:57",
    "2024-05-03 18:16:57"
  ],
  "InventoryDateType": 15,
  "InventoryDateArr": [
    "2024-05-03 18:16:57",
    "2024-05-03 18:16:57"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VendorSearchModel
NameDescriptionTypeAdditional information
Total

integer

None.

ArrearsTotal

integer

None.

ArrearsAmount

decimal number

None.

VendList

Collection of VendorListModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Total": 1,
  "ArrearsTotal": 2,
  "ArrearsAmount": 3.0,
  "VendList": [
    {
      "SysId": 1,
      "AsId": 2,
      "VendId": 3,
      "VendNo": "sample string 4",
      "VendName": "sample string 5",
      "VendTypeId": 6,
      "VendTypeName": "sample string 7",
      "PayableDate": "2024-05-03 18:16:57",
      "Payable": 9.0,
      "Payed": 10.0,
      "InitAmount": 11.0,
      "LastAmount": 12.0,
      "TaxNo": "sample string 13",
      "TaxRate": 14.0,
      "Bank": "sample string 15",
      "AcNo": "sample string 16",
      "Address": "sample string 17",
      "Note": "sample string 18",
      "Status": 19,
      "CreatedBy": 20,
      "CreatedDate": "2024-05-03 18:16:57",
      "ModifiedBy": 22,
      "ModifiedDate": "2024-05-03 18:16:57",
      "LinkMan": "sample string 24",
      "LinkManTel": "sample string 25",
      "IM": "sample string 26",
      "Purchaser": 27,
      "PurchaserName": "sample string 28",
      "SettlePeriodId": 29,
      "SettlePeriodName": "sample string 30"
    },
    {
      "SysId": 1,
      "AsId": 2,
      "VendId": 3,
      "VendNo": "sample string 4",
      "VendName": "sample string 5",
      "VendTypeId": 6,
      "VendTypeName": "sample string 7",
      "PayableDate": "2024-05-03 18:16:57",
      "Payable": 9.0,
      "Payed": 10.0,
      "InitAmount": 11.0,
      "LastAmount": 12.0,
      "TaxNo": "sample string 13",
      "TaxRate": 14.0,
      "Bank": "sample string 15",
      "AcNo": "sample string 16",
      "Address": "sample string 17",
      "Note": "sample string 18",
      "Status": 19,
      "CreatedBy": 20,
      "CreatedDate": "2024-05-03 18:16:57",
      "ModifiedBy": 22,
      "ModifiedDate": "2024-05-03 18:16:57",
      "LinkMan": "sample string 24",
      "LinkManTel": "sample string 25",
      "IM": "sample string 26",
      "Purchaser": 27,
      "PurchaserName": "sample string 28",
      "SettlePeriodId": 29,
      "SettlePeriodName": "sample string 30"
    }
  ]
}

application/xml, text/xml

Sample:
<VendorSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
  <ArrearsAmount>3</ArrearsAmount>
  <ArrearsTotal>2</ArrearsTotal>
  <Total>1</Total>
  <VendList>
    <VendorListModel>
      <AcNo>sample string 16</AcNo>
      <Address>sample string 17</Address>
      <AsId>2</AsId>
      <Bank>sample string 15</Bank>
      <CreatedBy>20</CreatedBy>
      <CreatedDate>2024-05-03T18:16:57.9317356+08:00</CreatedDate>
      <IM>sample string 26</IM>
      <InitAmount>11</InitAmount>
      <LastAmount>12</LastAmount>
      <LinkMan>sample string 24</LinkMan>
      <LinkManTel>sample string 25</LinkManTel>
      <ModifiedBy>22</ModifiedBy>
      <ModifiedDate>2024-05-03T18:16:57.9317356+08:00</ModifiedDate>
      <Note>sample string 18</Note>
      <Payable>9</Payable>
      <PayableDate>2024-05-03T18:16:57.9317356+08:00</PayableDate>
      <Payed>10</Payed>
      <Purchaser>27</Purchaser>
      <PurchaserName>sample string 28</PurchaserName>
      <SettlePeriodId>29</SettlePeriodId>
      <SettlePeriodName>sample string 30</SettlePeriodName>
      <Status>19</Status>
      <SysId>1</SysId>
      <TaxNo>sample string 13</TaxNo>
      <TaxRate>14</TaxRate>
      <VendId>3</VendId>
      <VendName>sample string 5</VendName>
      <VendNo>sample string 4</VendNo>
      <VendTypeId>6</VendTypeId>
      <VendTypeName>sample string 7</VendTypeName>
    </VendorListModel>
    <VendorListModel>
      <AcNo>sample string 16</AcNo>
      <Address>sample string 17</Address>
      <AsId>2</AsId>
      <Bank>sample string 15</Bank>
      <CreatedBy>20</CreatedBy>
      <CreatedDate>2024-05-03T18:16:57.9317356+08:00</CreatedDate>
      <IM>sample string 26</IM>
      <InitAmount>11</InitAmount>
      <LastAmount>12</LastAmount>
      <LinkMan>sample string 24</LinkMan>
      <LinkManTel>sample string 25</LinkManTel>
      <ModifiedBy>22</ModifiedBy>
      <ModifiedDate>2024-05-03T18:16:57.9317356+08:00</ModifiedDate>
      <Note>sample string 18</Note>
      <Payable>9</Payable>
      <PayableDate>2024-05-03T18:16:57.9317356+08:00</PayableDate>
      <Payed>10</Payed>
      <Purchaser>27</Purchaser>
      <PurchaserName>sample string 28</PurchaserName>
      <SettlePeriodId>29</SettlePeriodId>
      <SettlePeriodName>sample string 30</SettlePeriodName>
      <Status>19</Status>
      <SysId>1</SysId>
      <TaxNo>sample string 13</TaxNo>
      <TaxRate>14</TaxRate>
      <VendId>3</VendId>
      <VendName>sample string 5</VendName>
      <VendNo>sample string 4</VendNo>
      <VendTypeId>6</VendTypeId>
      <VendTypeName>sample string 7</VendTypeName>
    </VendorListModel>
  </VendList>
</VendorSearchModel>