POST dz_api/Handover/AddHandover

新增一条移交记录

Request Information

URI Parameters

None.

Body Parameters

SaveHandoverRequest
NameDescriptionTypeAdditional information
Info

移交信息

HandoverInfo

None.

CustId

相关客户Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Info": {
    "CustId": 1,
    "RecId": 2,
    "RecNo": 3,
    "HoType": 1010,
    "HoFrom": "sample string 4",
    "HoTo": "sample string 5",
    "HoDate": "2024-11-25T02:04:25.5098368+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
}

application/xml, text/xml

Sample:
<SaveHandoverRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.Customer.Models">
  <CustId>1</CustId>
  <Info xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
    <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-25T02:04:25.5098368+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>
  </Info>
</SaveHandoverRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

新增一条移交记录

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>