GET dz_api/Handover/GetHandovers?custId={custId}

客户物品移交记录及物品清单

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

客户ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

客户物品移交记录及物品清单

HandoverAndBils
NameDescriptionTypeAdditional information
Handovers

移交记录列表

Collection of HandoverInfo

None.

Belongings

物品清单

Collection of BelongingInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Handovers": [
    {
      "CustId": 1,
      "RecId": 2,
      "RecNo": 3,
      "HoType": 1010,
      "HoFrom": "sample string 4",
      "HoTo": "sample string 5",
      "HoDate": "2024-11-25T01:23:02.7279185+08:00",
      "Note": "sample string 7",
      "Qty": 6,
      "Belongings": [
        {
          "BliId": 1,
          "BliName": "sample string 2",
          "Qty": 3,
          "HaveRec": true,
          "Note": "sample string 5"
        },
        {
          "BliId": 1,
          "BliName": "sample string 2",
          "Qty": 3,
          "HaveRec": true,
          "Note": "sample string 5"
        }
      ]
    },
    {
      "CustId": 1,
      "RecId": 2,
      "RecNo": 3,
      "HoType": 1010,
      "HoFrom": "sample string 4",
      "HoTo": "sample string 5",
      "HoDate": "2024-11-25T01:23:02.7279185+08:00",
      "Note": "sample string 7",
      "Qty": 6,
      "Belongings": [
        {
          "BliId": 1,
          "BliName": "sample string 2",
          "Qty": 3,
          "HaveRec": true,
          "Note": "sample string 5"
        },
        {
          "BliId": 1,
          "BliName": "sample string 2",
          "Qty": 3,
          "HaveRec": true,
          "Note": "sample string 5"
        }
      ]
    }
  ],
  "Belongings": [
    {
      "BliId": 1,
      "BliName": "sample string 2",
      "Qty": 3,
      "HaveRec": true,
      "Note": "sample string 5"
    },
    {
      "BliId": 1,
      "BliName": "sample string 2",
      "Qty": 3,
      "HaveRec": true,
      "Note": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<HandoverAndBils xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.Customer.Models">
  <Belongings xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
    <d2p1:BelongingInfo>
      <d2p1:BliId>1</d2p1:BliId>
      <d2p1:BliName>sample string 2</d2p1:BliName>
      <d2p1:HaveRec>true</d2p1:HaveRec>
      <d2p1:Note>sample string 5</d2p1:Note>
      <d2p1:Qty>3</d2p1:Qty>
    </d2p1:BelongingInfo>
    <d2p1:BelongingInfo>
      <d2p1:BliId>1</d2p1:BliId>
      <d2p1:BliName>sample string 2</d2p1:BliName>
      <d2p1:HaveRec>true</d2p1:HaveRec>
      <d2p1:Note>sample string 5</d2p1:Note>
      <d2p1:Qty>3</d2p1:Qty>
    </d2p1:BelongingInfo>
  </Belongings>
  <Handovers xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
    <d2p1:HandoverInfo>
      <d2p1:Belongings>
        <d2p1:BelongingInfo>
          <d2p1:BliId>1</d2p1:BliId>
          <d2p1:BliName>sample string 2</d2p1:BliName>
          <d2p1:HaveRec>true</d2p1:HaveRec>
          <d2p1:Note>sample string 5</d2p1:Note>
          <d2p1:Qty>3</d2p1:Qty>
        </d2p1:BelongingInfo>
        <d2p1:BelongingInfo>
          <d2p1:BliId>1</d2p1:BliId>
          <d2p1:BliName>sample string 2</d2p1:BliName>
          <d2p1:HaveRec>true</d2p1:HaveRec>
          <d2p1:Note>sample string 5</d2p1:Note>
          <d2p1:Qty>3</d2p1:Qty>
        </d2p1:BelongingInfo>
      </d2p1:Belongings>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:HoDate>2024-11-25T01:23:02.7279185+08:00</d2p1:HoDate>
      <d2p1:HoFrom>sample string 4</d2p1:HoFrom>
      <d2p1:HoTo>sample string 5</d2p1:HoTo>
      <d2p1:HoType>ReceiveToStock</d2p1:HoType>
      <d2p1:Note>sample string 7</d2p1:Note>
      <d2p1:RecId>2</d2p1:RecId>
      <d2p1:RecNo>3</d2p1:RecNo>
    </d2p1:HandoverInfo>
    <d2p1:HandoverInfo>
      <d2p1:Belongings>
        <d2p1:BelongingInfo>
          <d2p1:BliId>1</d2p1:BliId>
          <d2p1:BliName>sample string 2</d2p1:BliName>
          <d2p1:HaveRec>true</d2p1:HaveRec>
          <d2p1:Note>sample string 5</d2p1:Note>
          <d2p1:Qty>3</d2p1:Qty>
        </d2p1:BelongingInfo>
        <d2p1:BelongingInfo>
          <d2p1:BliId>1</d2p1:BliId>
          <d2p1:BliName>sample string 2</d2p1:BliName>
          <d2p1:HaveRec>true</d2p1:HaveRec>
          <d2p1:Note>sample string 5</d2p1:Note>
          <d2p1:Qty>3</d2p1:Qty>
        </d2p1:BelongingInfo>
      </d2p1:Belongings>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:HoDate>2024-11-25T01:23:02.7279185+08:00</d2p1:HoDate>
      <d2p1:HoFrom>sample string 4</d2p1:HoFrom>
      <d2p1:HoTo>sample string 5</d2p1:HoTo>
      <d2p1:HoType>ReceiveToStock</d2p1:HoType>
      <d2p1:Note>sample string 7</d2p1:Note>
      <d2p1:RecId>2</d2p1:RecId>
      <d2p1:RecNo>3</d2p1:RecNo>
    </d2p1:HandoverInfo>
  </Handovers>
</HandoverAndBils>