POST api/SaleShareRecord/SaleCustomerRecord

分享销售单客户列表

Request Information

URI Parameters

None.

Body Parameters

SaleShareCustomerRequest
NameDescriptionTypeAdditional information
SaleDate

销售日期

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SaleDate": "2025-12-26T20:17:43.1386271+08:00"
}

application/xml, text/xml

Sample:
<SaleShareCustomerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Request">
  <SaleDate>2025-12-26T20:17:43.1386271+08:00</SaleDate>
</SaleShareCustomerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfListOfSaleShareCustomer
NameDescriptionTypeAdditional information
data

Collection of SaleShareCustomer

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "CustomerId": 1,
      "CustomerName": "sample string 2",
      "OwedAmount": 3.0,
      "Phone": "sample string 4",
      "IsCertified": true,
      "IsShare": true
    },
    {
      "CustomerId": 1,
      "CustomerName": "sample string 2",
      "OwedAmount": 3.0,
      "Phone": "sample string 4",
      "IsCertified": true,
      "IsShare": true
    }
  ],
  "errcode": "sample string 1",
  "errmsg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfSaleShareCustomerUJ8Augit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 1</errcode>
  <errmsg>sample string 2</errmsg>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataModel.Exchange.Response">
    <d2p1:SaleShareCustomer>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 2</d2p1:CustomerName>
      <d2p1:IsCertified>true</d2p1:IsCertified>
      <d2p1:IsShare>true</d2p1:IsShare>
      <d2p1:OwedAmount>3</d2p1:OwedAmount>
      <d2p1:Phone>sample string 4</d2p1:Phone>
    </d2p1:SaleShareCustomer>
    <d2p1:SaleShareCustomer>
      <d2p1:CustomerId>1</d2p1:CustomerId>
      <d2p1:CustomerName>sample string 2</d2p1:CustomerName>
      <d2p1:IsCertified>true</d2p1:IsCertified>
      <d2p1:IsShare>true</d2p1:IsShare>
      <d2p1:OwedAmount>3</d2p1:OwedAmount>
      <d2p1:Phone>sample string 4</d2p1:Phone>
    </d2p1:SaleShareCustomer>
  </data>
</ResponseOfArrayOfSaleShareCustomerUJ8Augit>