POST api/AuctionDealer/ServiceChargeRule

车辆详情平台服务费规则 (APP/pc) 2019年03月12日 柳航

Request Information

Parameters

NameTypeDescription
request Carwins.UsedCar.CarDomain.ServiceChargeRuleRequest

Request body formats

application/json, text/json

Sample:
{
  "param": {
    "auctionItemID": 1,
    "dealerID": 1
  },
  "sessionId": "sample string 1",
  "requestSource": "sample string 2",
  "bundleID": "sample string 3",
  "requestGroupID": "sample string 4",
  "channel": "sample string 5",
  "loginUserID": "sample string 6",
  "clientIP": "sample string 7",
  "endDeviceNumber": "sample string 8",
  "cityName": "sample string 9"
}

application/xml, text/xml

Sample:
<ServiceChargeRuleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carwins.UsedCar.CarDomain">
  <BundleID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 3</BundleID>
  <Channel xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 5</Channel>
  <CityName xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 9</CityName>
  <ClientIP xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 7</ClientIP>
  <EndDeviceNumber xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 8</EndDeviceNumber>
  <LoginUserID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 6</LoginUserID>
  <RequestGroupID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 4</RequestGroupID>
  <RequestSource xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 2</RequestSource>
  <SessionId xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 1</SessionId>
  <Param>
    <AuctionItemID>1</AuctionItemID>
    <DealerID>1</DealerID>
  </Param>
</ServiceChargeRuleRequest>

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 'ServiceChargeRuleRequest'.

Response Type

Pilot.Web.WebApi.SingleApiResponse`1[[Carwins.UsedCar.CarDomain.ServiceChargeRuleModel, Carwins.UsedCar.CarDomain, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Response Information

Response body formats

application/json, text/json

Sample:
{
  "data": {
    "dbpCarCount": 1,
    "serviceChargeMsg": "sample string 2",
    "serviceChargeList": [
      {
        "name": "sample string 1",
        "content": "sample string 2",
        "type": 3,
        "scCategory": 4,
        "feeValue": 5.0,
        "min": 6.0,
        "max": 7.0,
        "start": 8.0,
        "avtList": [
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          },
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          },
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          }
        ]
      },
      {
        "name": "sample string 1",
        "content": "sample string 2",
        "type": 3,
        "scCategory": 4,
        "feeValue": 5.0,
        "min": 6.0,
        "max": 7.0,
        "start": 8.0,
        "avtList": [
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          },
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          },
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          }
        ]
      },
      {
        "name": "sample string 1",
        "content": "sample string 2",
        "type": 3,
        "scCategory": 4,
        "feeValue": 5.0,
        "min": 6.0,
        "max": 7.0,
        "start": 8.0,
        "avtList": [
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          },
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          },
          {
            "commissionType": 1,
            "commissionFeeValue": 1.0,
            "betweenStart": 1,
            "betweenEnd": 1
          }
        ]
      }
    ]
  },
  "code": 1,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<SingleApiResponseOfServiceChargeRuleModelBO9P5ujw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">
  <Code>1</Code>
  <Message>sample string 2</Message>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Carwins.UsedCar.CarDomain">
    <d2p1:DbpCarCount>1</d2p1:DbpCarCount>
    <d2p1:ServiceChargeList>
      <d2p1:ServiceChargeRuleChildModel>
        <d2p1:AvtList>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
        </d2p1:AvtList>
        <d2p1:Content>sample string 2</d2p1:Content>
        <d2p1:FeeValue>5</d2p1:FeeValue>
        <d2p1:Max>7</d2p1:Max>
        <d2p1:Min>6</d2p1:Min>
        <d2p1:Name>sample string 1</d2p1:Name>
        <d2p1:ScCategory>4</d2p1:ScCategory>
        <d2p1:Start>8</d2p1:Start>
        <d2p1:Type>3</d2p1:Type>
      </d2p1:ServiceChargeRuleChildModel>
      <d2p1:ServiceChargeRuleChildModel>
        <d2p1:AvtList>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
        </d2p1:AvtList>
        <d2p1:Content>sample string 2</d2p1:Content>
        <d2p1:FeeValue>5</d2p1:FeeValue>
        <d2p1:Max>7</d2p1:Max>
        <d2p1:Min>6</d2p1:Min>
        <d2p1:Name>sample string 1</d2p1:Name>
        <d2p1:ScCategory>4</d2p1:ScCategory>
        <d2p1:Start>8</d2p1:Start>
        <d2p1:Type>3</d2p1:Type>
      </d2p1:ServiceChargeRuleChildModel>
      <d2p1:ServiceChargeRuleChildModel>
        <d2p1:AvtList>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
          <d2p1:ActItemModel>
            <d2p1:BetweenEnd>1</d2p1:BetweenEnd>
            <d2p1:BetweenStart>1</d2p1:BetweenStart>
            <d2p1:CommissionFeeValue>1</d2p1:CommissionFeeValue>
            <d2p1:CommissionType>1</d2p1:CommissionType>
          </d2p1:ActItemModel>
        </d2p1:AvtList>
        <d2p1:Content>sample string 2</d2p1:Content>
        <d2p1:FeeValue>5</d2p1:FeeValue>
        <d2p1:Max>7</d2p1:Max>
        <d2p1:Min>6</d2p1:Min>
        <d2p1:Name>sample string 1</d2p1:Name>
        <d2p1:ScCategory>4</d2p1:ScCategory>
        <d2p1:Start>8</d2p1:Start>
        <d2p1:Type>3</d2p1:Type>
      </d2p1:ServiceChargeRuleChildModel>
    </d2p1:ServiceChargeList>
    <d2p1:ServiceChargeMsg>sample string 2</d2p1:ServiceChargeMsg>
  </Data>
</SingleApiResponseOfServiceChargeRuleModelBO9P5ujw>