POST api/CarMange/CarPublishModelUpdate

Request Information

Parameters

NameTypeDescription
request Carwins.UsedCar.CarDomain.CarPublishModelUpdateRequest
No documentation available.

Request body formats

application/json, text/json

Sample:
{
  "carID": 1,
  "pic1": "sample string 2",
  "pic2": "sample string 3",
  "pic3": "sample string 4",
  "picVariable": "sample string 5",
  "carDescription": "sample string 6",
  "userID": "sample string 7",
  "isPublish": "sample string 8",
  "testReportImg": "sample string 9",
  "afterSaleImage": "sample string 10",
  "carLableList": [
    {
      "lableKey": "sample string 1",
      "lableName": "sample string 2"
    },
    {
      "lableKey": "sample string 1",
      "lableName": "sample string 2"
    },
    {
      "lableKey": "sample string 1",
      "lableName": "sample string 2"
    }
  ],
  "videoId": "sample string 11",
  "videoUrl": "sample string 12",
  "coverUrl": "sample string 13",
  "publishReportType": "sample string 14",
  "sessionId": "sample string 15",
  "requestSource": "sample string 16",
  "bundleID": "sample string 17",
  "requestGroupID": "sample string 18",
  "channel": "sample string 19",
  "loginUserID": "sample string 20",
  "clientIP": "sample string 21",
  "endDeviceNumber": "sample string 22",
  "cityName": "sample string 23",
  "hierarchy": "sample string 24",
  "sessionKey": "sample string 25",
  "appVersion": "sample string 26",
  "whetherUpdate": "sample string 27"
}

application/xml, text/xml

Sample:
<CarPublishModelUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Carwins.UsedCar.CarDomain">
  <AppVersion xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 26</AppVersion>
  <BundleID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 17</BundleID>
  <Channel xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 19</Channel>
  <CityName xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 23</CityName>
  <ClientIP xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 21</ClientIP>
  <EndDeviceNumber xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 22</EndDeviceNumber>
  <Hierarchy xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 24</Hierarchy>
  <LoginUserID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 20</LoginUserID>
  <RequestGroupID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 18</RequestGroupID>
  <RequestSource xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 16</RequestSource>
  <SessionId xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 15</SessionId>
  <SessionKey xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 25</SessionKey>
  <WhetherUpdate xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 27</WhetherUpdate>
  <AfterSaleImage>sample string 10</AfterSaleImage>
  <CarDescription>sample string 6</CarDescription>
  <CarID>1</CarID>
  <CarLableList>
    <CarLableSave>
      <LableKey>sample string 1</LableKey>
      <LableName>sample string 2</LableName>
    </CarLableSave>
    <CarLableSave>
      <LableKey>sample string 1</LableKey>
      <LableName>sample string 2</LableName>
    </CarLableSave>
    <CarLableSave>
      <LableKey>sample string 1</LableKey>
      <LableName>sample string 2</LableName>
    </CarLableSave>
  </CarLableList>
  <CoverUrl>sample string 13</CoverUrl>
  <IsPublish>sample string 8</IsPublish>
  <Pic1>sample string 2</Pic1>
  <Pic2>sample string 3</Pic2>
  <Pic3>sample string 4</Pic3>
  <PicVariable>sample string 5</PicVariable>
  <TestReportImg>sample string 9</TestReportImg>
  <UserID>sample string 7</UserID>
  <VideoId>sample string 11</VideoId>
  <VideoUrl>sample string 12</VideoUrl>
  <publishReportType>sample string 14</publishReportType>
</CarPublishModelUpdateRequest>

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

Response Type

Pilot.Web.WebApi.SingleApiResponse`1[[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]

Response Information

Response body formats

application/json, text/json

Sample:
{
  "data": 1,
  "code": 2,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<SingleApiResponseOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">
  <Code>2</Code>
  <Message>sample string 3</Message>
  <Data>1</Data>
</SingleApiResponseOflong>