POST jxc_api/PurchaseOrderSummary/ShareExcel

Request Information

URI Parameters

None.

Body Parameters

PoSummarySearchCondition
NameDescriptionTypeAdditional information
SummaryType

PurchaseSummaryType

None.

ProductIds

Collection of integer

None.

CatId

Collection of integer

None.

VendorIds

Collection of integer

None.

VendTypeId

Collection of integer

None.

Keywords

string

None.

BillStart

string

None.

BillEnd

string

None.

WarehouseId

Collection of integer

None.

ShowAP

boolean

None.

MaxRecCount

integer

None.

Purchaser

Collection of integer

None.

ApName

string

None.

WhCat

Collection of integer

None.

Spec

string

None.

ApIds

Collection of integer

None.

PurchaserName

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:
{
  "SummaryType": 1010,
  "ProductIds": [
    1,
    2
  ],
  "CatId": [
    1,
    2
  ],
  "VendorIds": [
    1,
    2
  ],
  "VendTypeId": [
    1,
    2
  ],
  "Keywords": "sample string 1",
  "BillStart": "sample string 2",
  "BillEnd": "sample string 3",
  "WarehouseId": [
    1,
    2
  ],
  "ShowAP": true,
  "MaxRecCount": 5,
  "Purchaser": [
    1,
    2
  ],
  "ApName": "sample string 6",
  "WhCat": [
    1,
    2
  ],
  "Spec": "sample string 7",
  "ApIds": [
    1,
    2
  ],
  "PurchaserName": "sample string 8",
  "PageIndex": 9,
  "PageSize": 10,
  "UsePager": true,
  "CurrUserSn": 12,
  "CanViewAllBill": true,
  "CanOpeAllWh": true,
  "OpeWhList": [
    1,
    2
  ],
  "DocumentDateType": 15,
  "DocumentDateArr": [
    "2024-11-25 02:20:06",
    "2024-11-25 02:20:06"
  ],
  "DeliveryDateType": 16,
  "DeliveryDateArr": [
    "2024-11-25 02:20:06",
    "2024-11-25 02:20:06"
  ],
  "OffDateType": 17,
  "OffDateArr": [
    "2024-11-25 02:20:06",
    "2024-11-25 02:20:06"
  ],
  "InventoryDateType": 18,
  "InventoryDateArr": [
    "2024-11-25 02:20:06",
    "2024-11-25 02:20:06"
  ]
}

application/xml, text/xml

Sample:
<PoSummarySearchCondition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.PurchaseOrder">
  <_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-25T02:20:06.186117+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:20:06.186117+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">16</_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-25T02:20:06.186117+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:20:06.186117+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">15</_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-25T02:20:06.186117+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:20:06.186117+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">18</_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-25T02:20:06.186117+08:00</d2p1:dateTime>
    <d2p1:dateTime>2024-11-25T02:20:06.186117+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">17</_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">12</_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_ApIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ApIds_x003E_k__BackingField>
  <_x003C_ApName_x003E_k__BackingField>sample string 6</_x003C_ApName_x003E_k__BackingField>
  <_x003C_BillEnd_x003E_k__BackingField>sample string 3</_x003C_BillEnd_x003E_k__BackingField>
  <_x003C_BillStart_x003E_k__BackingField>sample string 2</_x003C_BillStart_x003E_k__BackingField>
  <_x003C_CatId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_CatId_x003E_k__BackingField>
  <_x003C_Keywords_x003E_k__BackingField>sample string 1</_x003C_Keywords_x003E_k__BackingField>
  <_x003C_MaxRecCount_x003E_k__BackingField>5</_x003C_MaxRecCount_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>9</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>10</_x003C_PageSize_x003E_k__BackingField>
  <_x003C_ProductIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_ProductIds_x003E_k__BackingField>
  <_x003C_PurchaserName_x003E_k__BackingField>sample string 8</_x003C_PurchaserName_x003E_k__BackingField>
  <_x003C_Purchaser_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_Purchaser_x003E_k__BackingField>
  <_x003C_ShowAP_x003E_k__BackingField>true</_x003C_ShowAP_x003E_k__BackingField>
  <_x003C_Spec_x003E_k__BackingField>sample string 7</_x003C_Spec_x003E_k__BackingField>
  <_x003C_SummaryType_x003E_k__BackingField>ProductWarehouse</_x003C_SummaryType_x003E_k__BackingField>
  <_x003C_UsePager_x003E_k__BackingField>true</_x003C_UsePager_x003E_k__BackingField>
  <_x003C_VendTypeId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_VendTypeId_x003E_k__BackingField>
  <_x003C_VendorIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_VendorIds_x003E_k__BackingField>
  <_x003C_WarehouseId_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WarehouseId_x003E_k__BackingField>
  <_x003C_WhCat_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_WhCat_x003E_k__BackingField>
</PoSummarySearchCondition>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SharedMessage
NameDescriptionTypeAdditional information
FileUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "FileUrl": "sample string 1"
}

application/xml, text/xml

Sample:
<SharedMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Models">
  <FileUrl>sample string 1</FileUrl>
</SharedMessage>