POST dz_api/ReceiptMonitor/StopService

停止服务

Request Information

URI Parameters

None.

Body Parameters

StopServiceRequest
NameDescriptionTypeAdditional information
ServiceIds

服务ID

Collection of integer

None.

ReasonId

原因ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceIds": [
    1,
    2
  ],
  "ReasonId": 1
}

application/xml, text/xml

Sample:
<StopServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.Receipt.Models">
  <ReasonId>1</ReasonId>
  <ServiceIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ServiceIds>
</StopServiceRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

停止服务

None.