POST api/ExportSalesOrderPriceReportByUserField

采购、销售金额报表 按订单(非用户字典)、按物料(根据用户字典)

Request Information

URI Parameters

None.

Body Parameters

OrderReportParams
NameDescriptionTypeAdditional information
OrderType

1 :销售 2 :采购

integer

None.

ReportType

根据类型查询 1: 金额 2:物料 默认 1

integer

None.

FieldStr

人员字段显示字符串

string

None.

SelectIDList

选中IDX(int)

Collection of integer

None.

SelectIDListStr

string

None.

IDX

IDX

integer

None.

UserName

创建人

string

None.

UserID

UserID

integer

None.

SellCompanyID

供应商公司ID

integer

None.

SellCompanyName

供应商公司名称

string

None.

BuyCompanyID

Buy公司ID

integer

None.

BuyCompanyName

Buy公司名称

string

None.

CustomerCompanyID

Customer公司ID

integer

None.

CustomerCompanyName

Customer公司名称

string

None.

CompanyID

公司ID

integer

None.

CompanyName

公司名称

string

None.

OwnCompanyID

登录公司名称

integer

None.

SAPContractID

SAP合约ID

integer

None.

PageIndex

当前页

integer

None.

PageSize

每页显示

integer

None.

Count

总记录数

integer

None.

Sort

排序

string

None.

IsAdvancedSearch

是否高级搜索

boolean

None.

KeyWords

关键字查询

string

None.

StartTime

开始时间

date

None.

EndTime

结束时间

date

None.

Status

状态

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderType": 1,
  "ReportType": 2,
  "FieldStr": "sample string 3",
  "SelectIDList": [
    1,
    2
  ],
  "SelectIDListStr": "sample string 4",
  "IDX": 1,
  "UserName": "sample string 5",
  "UserID": 1,
  "SellCompanyID": 1,
  "SellCompanyName": "sample string 6",
  "BuyCompanyID": 1,
  "BuyCompanyName": "sample string 7",
  "CustomerCompanyID": 1,
  "CustomerCompanyName": "sample string 8",
  "CompanyID": 1,
  "CompanyName": "sample string 9",
  "OwnCompanyID": 1,
  "SAPContractID": 1,
  "PageIndex": 10,
  "PageSize": 11,
  "Count": 12,
  "Sort": "sample string 13",
  "IsAdvancedSearch": true,
  "KeyWords": "sample string 14",
  "StartTime": "2026-04-05 22:34:23",
  "EndTime": "2026-04-05 22:34:23",
  "Status": 1
}

application/xml, text/xml

Sample:
<OrderReportParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models">
  <BuyCompanyID>1</BuyCompanyID>
  <BuyCompanyName>sample string 7</BuyCompanyName>
  <CompanyID>1</CompanyID>
  <CompanyName>sample string 9</CompanyName>
  <Count>12</Count>
  <CustomerCompanyID>1</CustomerCompanyID>
  <CustomerCompanyName>sample string 8</CustomerCompanyName>
  <EndTime>2026-04-05T22:34:23.2875885+08:00</EndTime>
  <IDX>1</IDX>
  <IsAdvancedSearch>true</IsAdvancedSearch>
  <KeyWords>sample string 14</KeyWords>
  <OwnCompanyID>1</OwnCompanyID>
  <PageIndex>10</PageIndex>
  <PageSize>11</PageSize>
  <SAPContractID>1</SAPContractID>
  <SellCompanyID>1</SellCompanyID>
  <SellCompanyName>sample string 6</SellCompanyName>
  <Sort>sample string 13</Sort>
  <StartTime>2026-04-05T22:34:23.2875885+08:00</StartTime>
  <Status>1</Status>
  <UserID>1</UserID>
  <UserName>sample string 5</UserName>
  <FieldStr>sample string 3</FieldStr>
  <OrderType>1</OrderType>
  <ReportType>2</ReportType>
  <SelectIDList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SelectIDList>
  <SelectIDListStr>sample string 4</SelectIDListStr>
</OrderReportParams>

Response Information

Resource Description

采购、销售金额报表 按订单(非用户字典)、按物料(根据用户字典)

ApiRet
NameDescriptionTypeAdditional information
RetCode

状态码

string

None.

RetMsg

状态描述

string

None.

Message

数据实体

Object

None.

Total

查询结果所有页的总条数

integer

None.

TotalPage

总页数

integer

None.

Redirect

需重定向的地址

string

None.

FieldStr

列表字段管理

Object

None.

CurrentTime

当前时间

date

None.

IDX

主键

integer

None.

DelFlag

删除标识 0未删除 1:已删除

integer

None.

PageIndex

列表请求参数

integer

None.

PageSize

列表请求参数

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RetCode": "sample string 1",
  "RetMsg": "sample string 2",
  "Message": {},
  "Total": 4,
  "TotalPage": 5,
  "Redirect": "sample string 6",
  "FieldStr": {},
  "CurrentTime": "2026-04-05 22:34:23",
  "IDX": 9,
  "DelFlag": 10,
  "PageIndex": 11,
  "PageSize": 12
}

application/xml, text/xml

Sample:
<ApiRet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JR.SAAS.Models.Common">
  <_x003C_DelFlag_x003E_k__BackingField>10</_x003C_DelFlag_x003E_k__BackingField>
  <_x003C_IDX_x003E_k__BackingField>9</_x003C_IDX_x003E_k__BackingField>
  <_x003C_PageIndex_x003E_k__BackingField>11</_x003C_PageIndex_x003E_k__BackingField>
  <_x003C_PageSize_x003E_k__BackingField>12</_x003C_PageSize_x003E_k__BackingField>
  <CurrentTime>2026-04-05T22:34:23.2875885+08:00</CurrentTime>
  <FieldStr />
  <Message />
  <Redirect>sample string 6</Redirect>
  <RetCode>sample string 1</RetCode>
  <RetMsg>sample string 2</RetMsg>
  <Total>4</Total>
  <TotalPage>5</TotalPage>
</ApiRet>