POST api/PotentialGuestBuy/DemandInfoUpdateByID

Request Information

Parameters

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

Request body formats

application/json, text/json

Sample:
{
  "pid": 1,
  "demandPlateYearStart": "sample string 2",
  "demandPlateYearEnd": "sample string 3",
  "demandBudgetStart": "sample string 4",
  "demandBudgetEnd": "sample string 5",
  "carIdList": "sample string 6",
  "demandSelectInfo": [
    {
      "demandSelectID": 1,
      "demandSelectType": "sample string 2",
      "demandSelectValue": "sample string 3",
      "demandSelectValueName": "sample string 4",
      "potentialGuestBuyID": 5
    },
    {
      "demandSelectID": 1,
      "demandSelectType": "sample string 2",
      "demandSelectValue": "sample string 3",
      "demandSelectValueName": "sample string 4",
      "potentialGuestBuyID": 5
    },
    {
      "demandSelectID": 1,
      "demandSelectType": "sample string 2",
      "demandSelectValue": "sample string 3",
      "demandSelectValueName": "sample string 4",
      "potentialGuestBuyID": 5
    }
  ],
  "sessionId": "sample string 7",
  "requestSource": "sample string 8",
  "bundleID": "sample string 9",
  "requestGroupID": "sample string 10",
  "channel": "sample string 11",
  "loginUserID": "sample string 12",
  "clientIP": "sample string 13",
  "endDeviceNumber": "sample string 14",
  "cityName": "sample string 15",
  "hierarchy": "sample string 16",
  "sessionKey": "sample string 17",
  "appVersion": "sample string 18",
  "whetherUpdate": "sample string 19"
}

application/xml, text/xml

Sample:
<DemandInfoUpdateByIDRequest 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 18</AppVersion>
  <BundleID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 9</BundleID>
  <Channel xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 11</Channel>
  <CityName xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 15</CityName>
  <ClientIP xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 13</ClientIP>
  <EndDeviceNumber xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 14</EndDeviceNumber>
  <Hierarchy xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 16</Hierarchy>
  <LoginUserID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 12</LoginUserID>
  <RequestGroupID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 10</RequestGroupID>
  <RequestSource xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 8</RequestSource>
  <SessionId xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 7</SessionId>
  <SessionKey xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 17</SessionKey>
  <WhetherUpdate xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 19</WhetherUpdate>
  <CarIdList>sample string 6</CarIdList>
  <DemandBudgetEnd>sample string 5</DemandBudgetEnd>
  <DemandBudgetStart>sample string 4</DemandBudgetStart>
  <DemandPlateYearEnd>sample string 3</DemandPlateYearEnd>
  <DemandPlateYearStart>sample string 2</DemandPlateYearStart>
  <DemandSelectInfo>
    <DemandSelect>
      <_x003C_DemandSelectID_x003E_k__BackingField>1</_x003C_DemandSelectID_x003E_k__BackingField>
      <_x003C_DemandSelectType_x003E_k__BackingField>sample string 2</_x003C_DemandSelectType_x003E_k__BackingField>
      <_x003C_DemandSelectValueName_x003E_k__BackingField>sample string 4</_x003C_DemandSelectValueName_x003E_k__BackingField>
      <_x003C_DemandSelectValue_x003E_k__BackingField>sample string 3</_x003C_DemandSelectValue_x003E_k__BackingField>
      <_x003C_PotentialGuestBuyID_x003E_k__BackingField>5</_x003C_PotentialGuestBuyID_x003E_k__BackingField>
    </DemandSelect>
    <DemandSelect>
      <_x003C_DemandSelectID_x003E_k__BackingField>1</_x003C_DemandSelectID_x003E_k__BackingField>
      <_x003C_DemandSelectType_x003E_k__BackingField>sample string 2</_x003C_DemandSelectType_x003E_k__BackingField>
      <_x003C_DemandSelectValueName_x003E_k__BackingField>sample string 4</_x003C_DemandSelectValueName_x003E_k__BackingField>
      <_x003C_DemandSelectValue_x003E_k__BackingField>sample string 3</_x003C_DemandSelectValue_x003E_k__BackingField>
      <_x003C_PotentialGuestBuyID_x003E_k__BackingField>5</_x003C_PotentialGuestBuyID_x003E_k__BackingField>
    </DemandSelect>
    <DemandSelect>
      <_x003C_DemandSelectID_x003E_k__BackingField>1</_x003C_DemandSelectID_x003E_k__BackingField>
      <_x003C_DemandSelectType_x003E_k__BackingField>sample string 2</_x003C_DemandSelectType_x003E_k__BackingField>
      <_x003C_DemandSelectValueName_x003E_k__BackingField>sample string 4</_x003C_DemandSelectValueName_x003E_k__BackingField>
      <_x003C_DemandSelectValue_x003E_k__BackingField>sample string 3</_x003C_DemandSelectValue_x003E_k__BackingField>
      <_x003C_PotentialGuestBuyID_x003E_k__BackingField>5</_x003C_PotentialGuestBuyID_x003E_k__BackingField>
    </DemandSelect>
  </DemandSelectInfo>
  <PID>1</PID>
</DemandInfoUpdateByIDRequest>

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

Response Type

Pilot.Web.WebApi.SingleApiResponse`1[[System.Int32, 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:
<SingleApiResponseOfint 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>
</SingleApiResponseOfint>