POST api/PdaCharge/UpdateAlternativeChargeState

修改代收记录状态

Request Information

URI Parameters

None.

Body Parameters

AlternativeChargeQuery
NameDescriptionTypeAdditional information
AlternativeChargeIds

Collection of globally unique identifier

None.

AlternativeChargeId

globally unique identifier

None.

ReplaceEmployeeId

globally unique identifier

None.

ReceiveEmployeeId

globally unique identifier

None.

OrderId

globally unique identifier

None.

Money

decimal number

None.

State

AlternativeChargeState

None.

BeginChargeTime

date

None.

EndChargeTime

date

None.

BeginTransferTime

date

None.

EndTransferTime

date

None.

BeginCreationTime

date

None.

EndCreationTime

date

None.

CreatorId

globally unique identifier

None.

BeginLastModificationTime

date

None.

EndLastModificationTime

date

None.

LastModifierId

globally unique identifier

None.

Keyword

string

None.

Page

integer

None.

PageSize

integer

None.

TotalCount

integer

None.

Order

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AlternativeChargeIds": [
    "64acc319-3bdd-4649-8128-f22368d0fb13",
    "b4db5c86-5038-40d3-b5b0-4ff17e3cdbc8"
  ],
  "AlternativeChargeId": "67c24fdb-4977-4ef9-ad2e-623d3daf1f0a",
  "ReplaceEmployeeId": "14fb439a-f4d4-404f-bba8-3cd57934b91c",
  "ReceiveEmployeeId": "2332d2cc-92fd-409d-94e2-65bdc4696151",
  "OrderId": "bb279add-c8f4-4bfd-8fa7-0f89906737b8",
  "Money": 1.0,
  "State": 0,
  "BeginChargeTime": "2025-11-08 18:52:02",
  "EndChargeTime": "2025-11-08 18:52:02",
  "BeginTransferTime": "2025-11-08 18:52:02",
  "EndTransferTime": "2025-11-08 18:52:02",
  "BeginCreationTime": "2025-11-08 18:52:02",
  "EndCreationTime": "2025-11-08 18:52:02",
  "CreatorId": "67b9de70-131f-4423-8ddc-5ef42ee67409",
  "BeginLastModificationTime": "2025-11-08 18:52:02",
  "EndLastModificationTime": "2025-11-08 18:52:02",
  "LastModifierId": "5b09d379-d0cb-41eb-9795-65067b9f6f45",
  "Keyword": "sample string 1",
  "Page": 2,
  "PageSize": 3,
  "TotalCount": 4,
  "Order": "sample string 5"
}

application/xml, text/xml

Sample:
<AlternativeChargeQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Applications.Domains.Parks.Queries">
  <Order xmlns="http://schemas.datacontract.org/2004/07/Util.Domains.Repositories">sample string 5</Order>
  <Page xmlns="http://schemas.datacontract.org/2004/07/Util.Domains.Repositories">2</Page>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Util.Domains.Repositories">3</PageSize>
  <TotalCount xmlns="http://schemas.datacontract.org/2004/07/Util.Domains.Repositories">4</TotalCount>
  <Keyword xmlns="http://schemas.datacontract.org/2004/07/Util.Domains.Repositories">sample string 1</Keyword>
  <AlternativeChargeId>67c24fdb-4977-4ef9-ad2e-623d3daf1f0a</AlternativeChargeId>
  <AlternativeChargeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>64acc319-3bdd-4649-8128-f22368d0fb13</d2p1:guid>
    <d2p1:guid>b4db5c86-5038-40d3-b5b0-4ff17e3cdbc8</d2p1:guid>
  </AlternativeChargeIds>
  <BeginChargeTime>2025-11-08T18:52:02.473536+08:00</BeginChargeTime>
  <BeginCreationTime>2025-11-08T18:52:02.473536+08:00</BeginCreationTime>
  <BeginLastModificationTime>2025-11-08T18:52:02.473536+08:00</BeginLastModificationTime>
  <BeginTransferTime>2025-11-08T18:52:02.473536+08:00</BeginTransferTime>
  <CreatorId>67b9de70-131f-4423-8ddc-5ef42ee67409</CreatorId>
  <EndChargeTime>2025-11-08T18:52:02.473536+08:00</EndChargeTime>
  <EndCreationTime>2025-11-08T18:52:02.473536+08:00</EndCreationTime>
  <EndLastModificationTime>2025-11-08T18:52:02.473536+08:00</EndLastModificationTime>
  <EndTransferTime>2025-11-08T18:52:02.473536+08:00</EndTransferTime>
  <LastModifierId>5b09d379-d0cb-41eb-9795-65067b9f6f45</LastModifierId>
  <Money>1</Money>
  <OrderId>bb279add-c8f4-4bfd-8fa7-0f89906737b8</OrderId>
  <ReceiveEmployeeId>2332d2cc-92fd-409d-94e2-65bdc4696151</ReceiveEmployeeId>
  <ReplaceEmployeeId>14fb439a-f4d4-404f-bba8-3cd57934b91c</ReplaceEmployeeId>
  <State>NoTransfer</State>
</AlternativeChargeQuery>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AlternativeChargeQuery'.

Response Information

Resource Description

ResultMessage
NameDescriptionTypeAdditional information
status

操作结果状态

MStatusCode

None.

message

操作结果消息

string

None.

errors

请求对象未通过验证的错误消息列表

Collection of ValidErrors

None.

url

操作成功后的跳转页面

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "message": "sample string 1",
  "errors": [
    {
      "field": "sample string 1",
      "errorMessages": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "field": "sample string 1",
      "errorMessages": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "url": "sample string 2"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Applications.WebApi.Common">
  <Status>Fail</Status>
  <Message>sample string 1</Message>
  <Url>sample string 2</Url>
  <Errors>
    <ValidErrors>
      <_x003C_ErrorMessages_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </_x003C_ErrorMessages_x003E_k__BackingField>
      <_x003C_Field_x003E_k__BackingField>sample string 1</_x003C_Field_x003E_k__BackingField>
    </ValidErrors>
    <ValidErrors>
      <_x003C_ErrorMessages_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </_x003C_ErrorMessages_x003E_k__BackingField>
      <_x003C_Field_x003E_k__BackingField>sample string 1</_x003C_Field_x003E_k__BackingField>
    </ValidErrors>
  </Errors>
</Result>