POST jxc_api/SimpleResource/GetSimpleVendors

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-11-25 01:22:14",
    "2024-11-25 01:22:14"
  ],
  "DeliveryDateType": 13,
  "DeliveryDateArr": [
    "2024-11-25 01:22:14",
    "2024-11-25 01:22:14"
  ],
  "OffDateType": 14,
  "OffDateArr": [
    "2024-11-25 01:22:14",
    "2024-11-25 01:22:14"
  ],
  "InventoryDateType": 15,
  "InventoryDateArr": [
    "2024-11-25 01:22:14",
    "2024-11-25 01:22:14"
  ]
}

application/xml, text/xml

Sample:
<VendorCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi">
  <_x003C_DeliveryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
  </_x003C_DeliveryDateArr_x003E_k__BackingField>
  <_x003C_DeliveryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">13</_x003C_DeliveryDateType_x003E_k__BackingField>
  <_x003C_DocumentDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
  </_x003C_DocumentDateArr_x003E_k__BackingField>
  <_x003C_DocumentDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">12</_x003C_DocumentDateType_x003E_k__BackingField>
  <_x003C_InventoryDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
  </_x003C_InventoryDateArr_x003E_k__BackingField>
  <_x003C_InventoryDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">15</_x003C_InventoryDateType_x003E_k__BackingField>
  <_x003C_OffDateArr_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T01:22:14.9506319+08:00</d2p1:dateTime>
  </_x003C_OffDateArr_x003E_k__BackingField>
  <_x003C_OffDateType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.Setting">14</_x003C_OffDateType_x003E_k__BackingField>
  <_x003C_CanOpeAllWh_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanOpeAllWh_x003E_k__BackingField>
  <_x003C_CanViewAllBill_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">true</_x003C_CanViewAllBill_x003E_k__BackingField>
  <_x003C_CurrUserSn_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">9</_x003C_CurrUserSn_x003E_k__BackingField>
  <_x003C_OpeWhList_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_OpeWhList_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>6</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>7</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_CategoryKeyword_x003E_k__BackingField>sample string 5</_x003C_CategoryKeyword_x003E_k__BackingField>
  <_x003C_Ftype_x003E_k__BackingField>0</_x003C_Ftype_x003E_k__BackingField>
  <_x003C_AccAsId_x003E_k__BackingField>4</_x003C_AccAsId_x003E_k__BackingField>
  <_x003C_AppAsId_x003E_k__BackingField>sample string 3</_x003C_AppAsId_x003E_k__BackingField>
  <_x003C_CategroryIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CategroryIds_x003E_k__BackingField>
  <_x003C_SearchColumns_x003E_k__BackingField>All</_x003C_SearchColumns_x003E_k__BackingField>
  <_x003C_SearchText_x003E_k__BackingField>sample string 1</_x003C_SearchText_x003E_k__BackingField>
  <_x003C_Status_x003E_k__BackingField>true</_x003C_Status_x003E_k__BackingField>
</VendorCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SimpleVendor
NameDescriptionTypeAdditional information
VendId

integer

None.

VendNo

string

None.

VendName

string

None.

CatId

integer

None.

CatName

string

None.

ContactId

integer

None.

ContactName

string

None.

Phone

string

None.

Purchaser

integer

None.

PurchaserName

string

None.

TaxRate

decimal number

None.

SettlePeriodId

integer

None.

SettlePeriodType

integer

None.

SettlePeriodValue

integer

None.

SettlePeriodName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VendId": 1,
    "VendNo": "sample string 2",
    "VendName": "sample string 3",
    "CatId": 4,
    "CatName": "sample string 5",
    "ContactId": 6,
    "ContactName": "sample string 7",
    "Phone": "sample string 8",
    "Purchaser": 9,
    "PurchaserName": "sample string 10",
    "TaxRate": 11.0,
    "SettlePeriodId": 12,
    "SettlePeriodType": 13,
    "SettlePeriodValue": 14,
    "SettlePeriodName": "sample string 15"
  },
  {
    "VendId": 1,
    "VendNo": "sample string 2",
    "VendName": "sample string 3",
    "CatId": 4,
    "CatName": "sample string 5",
    "ContactId": 6,
    "ContactName": "sample string 7",
    "Phone": "sample string 8",
    "Purchaser": 9,
    "PurchaserName": "sample string 10",
    "TaxRate": 11.0,
    "SettlePeriodId": 12,
    "SettlePeriodType": 13,
    "SettlePeriodValue": 14,
    "SettlePeriodName": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Framework.Models">
  <SimpleVendor>
    <CatId>4</CatId>
    <CatName>sample string 5</CatName>
    <ContactId>6</ContactId>
    <ContactName>sample string 7</ContactName>
    <Phone>sample string 8</Phone>
    <Purchaser>9</Purchaser>
    <PurchaserName>sample string 10</PurchaserName>
    <SettlePeriodId>12</SettlePeriodId>
    <SettlePeriodName>sample string 15</SettlePeriodName>
    <SettlePeriodType>13</SettlePeriodType>
    <SettlePeriodValue>14</SettlePeriodValue>
    <TaxRate>11</TaxRate>
    <VendId>1</VendId>
    <VendName>sample string 3</VendName>
    <VendNo>sample string 2</VendNo>
  </SimpleVendor>
  <SimpleVendor>
    <CatId>4</CatId>
    <CatName>sample string 5</CatName>
    <ContactId>6</ContactId>
    <ContactName>sample string 7</ContactName>
    <Phone>sample string 8</Phone>
    <Purchaser>9</Purchaser>
    <PurchaserName>sample string 10</PurchaserName>
    <SettlePeriodId>12</SettlePeriodId>
    <SettlePeriodName>sample string 15</SettlePeriodName>
    <SettlePeriodType>13</SettlePeriodType>
    <SettlePeriodValue>14</SettlePeriodValue>
    <TaxRate>11</TaxRate>
    <VendId>1</VendId>
    <VendName>sample string 3</VendName>
    <VendNo>sample string 2</VendNo>
  </SimpleVendor>
</ArrayOfSimpleVendor>