POST Admin/InsurancePolicy/batchInfo

Request Information

URI Parameters

None.

Body Parameters

BatchEditInfo
NameDescriptionTypeAdditional information
Order

BuyerOrder

None.

Policy

InsurancePolicy

None.

IdsArr

Collection of integer

None.

Confirm

boolean

None.

TypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Order": {
    "Id": 1,
    "TotalQuantity": 2,
    "TotalAmount": 3.0,
    "StatusId": 4,
    "PayWayId": 5,
    "PayWay": "sample string 6",
    "CreatedDate": "2025-07-17T19:23:03.7354162+08:00",
    "CreatedUserId": 8,
    "UpdatedDate": "2025-07-17T19:23:03.7354162+08:00",
    "UpdatedUserId": 10,
    "Name": "sample string 11",
    "PhoneNum": "sample string 12",
    "Email": "sample string 13",
    "Address": "sample string 14",
    "InvoiceTypeId": 15,
    "InvoiceTypeName": "sample string 16",
    "InvoiceContent": "sample string 17",
    "StatusName": "sample string 18",
    "InvoiceCode": "sample string 19",
    "InvoiceDate": "2025-07-17T19:23:03.7354162+08:00",
    "InvCreatedUserName": "sample string 21",
    "ShippingId": 22,
    "SellerId": 23,
    "TaxAmount": 24.0,
    "TaxRate": 25.0,
    "HasInvoice": 26,
    "ShippingFee": 27.0,
    "Desciption": "sample string 28",
    "OrderNum": "sample string 29",
    "TypeId": 30,
    "PTypeCode": "sample string 31",
    "BTypeCode": "sample string 32",
    "PayDate": "2025-07-17T19:23:03.7354162+08:00",
    "SignedDate": "2025-07-17T19:23:03.7354162+08:00",
    "ChargeDate": "2025-07-17T19:23:03.7354162+08:00",
    "OwnerName": "sample string 36",
    "ChekerName": "sample string 37",
    "Channel": "sample string 38",
    "ChannelName": "sample string 39",
    "FileTypeId": 40,
    "OrderMakerId": 41,
    "OrderSourceId": 42,
    "CustomerPaymentWay": "sample string 43",
    "PolicyPayWay": "sample string 44",
    "ReceivableAmount": 45.0,
    "ReceivedAmount": 46.0,
    "CommissionRefundAmount": 47.0,
    "IsSettlementFeeNoTax": true,
    "IsPreferredFeeNoTax": true,
    "LastYearAccTimes": 50,
    "LastYearClaimTimes": 51,
    "LastYearClaimAmount": 52.0,
    "NoDefendedYearCount": 53,
    "CurrentYearClaimTimes": 54,
    "InsTypeId": 55,
    "ParentPolicyId": 56,
    "FixedOrderId": 57
  },
  "Policy": {
    "Id": 1,
    "OrderId": 2,
    "PolicyNo": "sample string 3",
    "RecordNo": "sample string 4",
    "BusinessMapId": 5,
    "CompanyCateCode": "sample string 6",
    "InsurancePort": "sample string 7",
    "StartDate": "2025-07-17T19:23:03.7354162+08:00",
    "EndDate": "2025-07-17T19:23:03.7354162+08:00",
    "CatchDate": "2025-07-17T19:23:03.7354162+08:00",
    "InsuranceTypeId": 11,
    "InsuranceTypeSubId": 12,
    "Memo": "sample string 13",
    "PolicyPrintNo": "sample string 14",
    "IssuePrintNo": "sample string 15",
    "ProductionDate": "2025-07-17T19:23:03.7354162+08:00",
    "CreatedDate": "2025-07-17T19:23:03.7354162+08:00",
    "UpdatedDate": "2025-07-17T19:23:03.7354162+08:00",
    "CreatedUserId": 19,
    "UpdatedUserId": 20,
    "IsCharged": true,
    "ChargedDate": "2025-07-17T19:23:03.7354162+08:00",
    "PrevYearPolicyNo": "sample string 23",
    "PrevYearClaimCount": 24,
    "PrevYearClaimAmount": 25.0,
    "TransferNo": "sample string 26",
    "DocumentaryRate": 27.0,
    "SettlementRate": 28.0,
    "IsSettlementFeeNoTax": true,
    "PreferredRate": 30.0,
    "IsPreferredFeeNoTax": true,
    "ChargeStatusId": 32,
    "Organization": "sample string 33",
    "OrganizationCode": "sample string 34",
    "InsTypeId": 35,
    "Ratio": 36.0,
    "FixPolicyId": 37
  },
  "IdsArr": [
    1,
    2
  ],
  "Confirm": true,
  "TypeId": 2
}

application/xml, text/xml

Sample:
<BatchEditInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ISM.Web.Models">
  <Confirm>true</Confirm>
  <IdsArr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </IdsArr>
  <TypeId>2</TypeId>
  <Order xmlns:d2p1="http://schemas.datacontract.org/2004/07/ISM.Core">
    <d2p1:Address>sample string 14</d2p1:Address>
    <d2p1:BTypeCode>sample string 32</d2p1:BTypeCode>
    <d2p1:Channel>sample string 38</d2p1:Channel>
    <d2p1:ChannelName>sample string 39</d2p1:ChannelName>
    <d2p1:ChargeDate>2025-07-17T19:23:03.7354162+08:00</d2p1:ChargeDate>
    <d2p1:ChekerName>sample string 37</d2p1:ChekerName>
    <d2p1:CommissionRefundAmount>47</d2p1:CommissionRefundAmount>
    <d2p1:CreatedDate>2025-07-17T19:23:03.7354162+08:00</d2p1:CreatedDate>
    <d2p1:CreatedUserId>8</d2p1:CreatedUserId>
    <d2p1:CurrentYearClaimTimes>54</d2p1:CurrentYearClaimTimes>
    <d2p1:CustomerPaymentWay>sample string 43</d2p1:CustomerPaymentWay>
    <d2p1:Desciption>sample string 28</d2p1:Desciption>
    <d2p1:Email>sample string 13</d2p1:Email>
    <d2p1:FileTypeId>40</d2p1:FileTypeId>
    <d2p1:FixedOrderId>57</d2p1:FixedOrderId>
    <d2p1:HasInvoice>26</d2p1:HasInvoice>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InsTypeId>55</d2p1:InsTypeId>
    <d2p1:InvCreatedUserName>sample string 21</d2p1:InvCreatedUserName>
    <d2p1:InvoiceCode>sample string 19</d2p1:InvoiceCode>
    <d2p1:InvoiceContent>sample string 17</d2p1:InvoiceContent>
    <d2p1:InvoiceDate>2025-07-17T19:23:03.7354162+08:00</d2p1:InvoiceDate>
    <d2p1:InvoiceTypeId>15</d2p1:InvoiceTypeId>
    <d2p1:InvoiceTypeName>sample string 16</d2p1:InvoiceTypeName>
    <d2p1:IsPreferredFeeNoTax>true</d2p1:IsPreferredFeeNoTax>
    <d2p1:IsSettlementFeeNoTax>true</d2p1:IsSettlementFeeNoTax>
    <d2p1:LastYearAccTimes>50</d2p1:LastYearAccTimes>
    <d2p1:LastYearClaimAmount>52</d2p1:LastYearClaimAmount>
    <d2p1:LastYearClaimTimes>51</d2p1:LastYearClaimTimes>
    <d2p1:Name>sample string 11</d2p1:Name>
    <d2p1:NoDefendedYearCount>53</d2p1:NoDefendedYearCount>
    <d2p1:OrderMakerId>41</d2p1:OrderMakerId>
    <d2p1:OrderNum>sample string 29</d2p1:OrderNum>
    <d2p1:OrderSourceId>42</d2p1:OrderSourceId>
    <d2p1:OwnerName>sample string 36</d2p1:OwnerName>
    <d2p1:PTypeCode>sample string 31</d2p1:PTypeCode>
    <d2p1:ParentPolicyId>56</d2p1:ParentPolicyId>
    <d2p1:PayDate>2025-07-17T19:23:03.7354162+08:00</d2p1:PayDate>
    <d2p1:PayWay>sample string 6</d2p1:PayWay>
    <d2p1:PayWayId>5</d2p1:PayWayId>
    <d2p1:PhoneNum>sample string 12</d2p1:PhoneNum>
    <d2p1:PolicyPayWay>sample string 44</d2p1:PolicyPayWay>
    <d2p1:ReceivableAmount>45</d2p1:ReceivableAmount>
    <d2p1:ReceivedAmount>46</d2p1:ReceivedAmount>
    <d2p1:SellerId>23</d2p1:SellerId>
    <d2p1:ShippingFee>27</d2p1:ShippingFee>
    <d2p1:ShippingId>22</d2p1:ShippingId>
    <d2p1:SignedDate>2025-07-17T19:23:03.7354162+08:00</d2p1:SignedDate>
    <d2p1:StatusId>4</d2p1:StatusId>
    <d2p1:StatusName>sample string 18</d2p1:StatusName>
    <d2p1:TaxAmount>24</d2p1:TaxAmount>
    <d2p1:TaxRate>25</d2p1:TaxRate>
    <d2p1:TotalAmount>3</d2p1:TotalAmount>
    <d2p1:TotalQuantity>2</d2p1:TotalQuantity>
    <d2p1:TypeId>30</d2p1:TypeId>
    <d2p1:UpdatedDate>2025-07-17T19:23:03.7354162+08:00</d2p1:UpdatedDate>
    <d2p1:UpdatedUserId>10</d2p1:UpdatedUserId>
  </Order>
  <Policy xmlns:d2p1="http://schemas.datacontract.org/2004/07/ISM.Core">
    <d2p1:BusinessMapId>5</d2p1:BusinessMapId>
    <d2p1:CatchDate>2025-07-17T19:23:03.7354162+08:00</d2p1:CatchDate>
    <d2p1:ChargeStatusId>32</d2p1:ChargeStatusId>
    <d2p1:ChargedDate>2025-07-17T19:23:03.7354162+08:00</d2p1:ChargedDate>
    <d2p1:CompanyCateCode>sample string 6</d2p1:CompanyCateCode>
    <d2p1:CreatedDate>2025-07-17T19:23:03.7354162+08:00</d2p1:CreatedDate>
    <d2p1:CreatedUserId>19</d2p1:CreatedUserId>
    <d2p1:DocumentaryRate>27</d2p1:DocumentaryRate>
    <d2p1:EndDate>2025-07-17T19:23:03.7354162+08:00</d2p1:EndDate>
    <d2p1:FixPolicyId>37</d2p1:FixPolicyId>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:InsTypeId>35</d2p1:InsTypeId>
    <d2p1:InsurancePort>sample string 7</d2p1:InsurancePort>
    <d2p1:InsuranceTypeId>11</d2p1:InsuranceTypeId>
    <d2p1:InsuranceTypeSubId>12</d2p1:InsuranceTypeSubId>
    <d2p1:IsCharged>true</d2p1:IsCharged>
    <d2p1:IsPreferredFeeNoTax>true</d2p1:IsPreferredFeeNoTax>
    <d2p1:IsSettlementFeeNoTax>true</d2p1:IsSettlementFeeNoTax>
    <d2p1:IssuePrintNo>sample string 15</d2p1:IssuePrintNo>
    <d2p1:Memo>sample string 13</d2p1:Memo>
    <d2p1:OrderId>2</d2p1:OrderId>
    <d2p1:Organization>sample string 33</d2p1:Organization>
    <d2p1:OrganizationCode>sample string 34</d2p1:OrganizationCode>
    <d2p1:PolicyNo>sample string 3</d2p1:PolicyNo>
    <d2p1:PolicyPrintNo>sample string 14</d2p1:PolicyPrintNo>
    <d2p1:PreferredRate>30</d2p1:PreferredRate>
    <d2p1:PrevYearClaimAmount>25</d2p1:PrevYearClaimAmount>
    <d2p1:PrevYearClaimCount>24</d2p1:PrevYearClaimCount>
    <d2p1:PrevYearPolicyNo>sample string 23</d2p1:PrevYearPolicyNo>
    <d2p1:ProductionDate>2025-07-17T19:23:03.7354162+08:00</d2p1:ProductionDate>
    <d2p1:Ratio>36</d2p1:Ratio>
    <d2p1:RecordNo>sample string 4</d2p1:RecordNo>
    <d2p1:SettlementRate>28</d2p1:SettlementRate>
    <d2p1:StartDate>2025-07-17T19:23:03.7354162+08:00</d2p1:StartDate>
    <d2p1:TransferNo>sample string 26</d2p1:TransferNo>
    <d2p1:UpdatedDate>2025-07-17T19:23:03.7354162+08:00</d2p1:UpdatedDate>
    <d2p1:UpdatedUserId>20</d2p1:UpdatedUserId>
  </Policy>
</BatchEditInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.