POST api/FinancialManagement/SavePay

Request Information

Parameters

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

Request body formats

application/json, text/json

Sample:
{
  "carId": 1,
  "payType": "sample string 2",
  "payNo": "sample string 3",
  "payer": "sample string 4",
  "payRemark": "sample string 5",
  "creator": "sample string 6",
  "isfk": "sample string 7",
  "opt": "sample string 8",
  "paySalePirceList": [
    null,
    {
      "id": 1,
      "fldCarID": 2,
      "priceName": "sample string 3",
      "priceValue": 0.0,
      "priceTypeId": 0
    },
    {
      "id": 1,
      "fldCarID": 2,
      "priceName": "sample string 3",
      "priceValue": 0.0,
      "priceTypeId": 0
    }
  ],
  "sessionId": "sample string 9",
  "requestSource": "sample string 10",
  "bundleID": "sample string 11",
  "requestGroupID": "sample string 12",
  "channel": "sample string 13",
  "loginUserID": "sample string 14",
  "clientIP": "sample string 15",
  "endDeviceNumber": "sample string 16",
  "cityName": "sample string 17",
  "hierarchy": "sample string 18",
  "sessionKey": "sample string 19",
  "appVersion": "sample string 20",
  "whetherUpdate": "sample string 21"
}

application/xml, text/xml

Sample:
<FinancePassRequest 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 20</AppVersion>
  <BundleID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 11</BundleID>
  <Channel xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 13</Channel>
  <CityName xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 17</CityName>
  <ClientIP xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 15</ClientIP>
  <EndDeviceNumber xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 16</EndDeviceNumber>
  <Hierarchy xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 18</Hierarchy>
  <LoginUserID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 14</LoginUserID>
  <RequestGroupID xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 12</RequestGroupID>
  <RequestSource xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 10</RequestSource>
  <SessionId xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 9</SessionId>
  <SessionKey xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 19</SessionKey>
  <WhetherUpdate xmlns="http://schemas.datacontract.org/2004/07/Pilot.Web.WebApi">sample string 21</WhetherUpdate>
  <CarId>1</CarId>
  <Creator>sample string 6</Creator>
  <ISFK>sample string 7</ISFK>
  <Opt>sample string 8</Opt>
  <PayNo>sample string 3</PayNo>
  <PayRemark>sample string 5</PayRemark>
  <PaySalePirceList>
    <PaySalePirceLog i:nil="true" />
    <PaySalePirceLog>
      <_x003C_FactStatus_x003E_k__BackingField i:nil="true" />
      <_x003C_ID_x003E_k__BackingField>1</_x003C_ID_x003E_k__BackingField>
      <_x003C_Opt_x003E_k__BackingField i:nil="true" />
      <_x003C_PayTypeName_x003E_k__BackingField i:nil="true" />
      <_x003C_PayType_x003E_k__BackingField i:nil="true" />
      <_x003C_PriceDate_x003E_k__BackingField i:nil="true" />
      <_x003C_PriceName_x003E_k__BackingField>sample string 3</_x003C_PriceName_x003E_k__BackingField>
      <_x003C_PriceTypeId_x003E_k__BackingField>0</_x003C_PriceTypeId_x003E_k__BackingField>
      <_x003C_PriceValue_x003E_k__BackingField>0</_x003C_PriceValue_x003E_k__BackingField>
      <_x003C_fldCarID_x003E_k__BackingField>2</_x003C_fldCarID_x003E_k__BackingField>
    </PaySalePirceLog>
    <PaySalePirceLog>
      <_x003C_FactStatus_x003E_k__BackingField i:nil="true" />
      <_x003C_ID_x003E_k__BackingField>1</_x003C_ID_x003E_k__BackingField>
      <_x003C_Opt_x003E_k__BackingField i:nil="true" />
      <_x003C_PayTypeName_x003E_k__BackingField i:nil="true" />
      <_x003C_PayType_x003E_k__BackingField i:nil="true" />
      <_x003C_PriceDate_x003E_k__BackingField i:nil="true" />
      <_x003C_PriceName_x003E_k__BackingField>sample string 3</_x003C_PriceName_x003E_k__BackingField>
      <_x003C_PriceTypeId_x003E_k__BackingField>0</_x003C_PriceTypeId_x003E_k__BackingField>
      <_x003C_PriceValue_x003E_k__BackingField>0</_x003C_PriceValue_x003E_k__BackingField>
      <_x003C_fldCarID_x003E_k__BackingField>2</_x003C_fldCarID_x003E_k__BackingField>
    </PaySalePirceLog>
  </PaySalePirceList>
  <PayType>sample string 2</PayType>
  <Payer>sample string 4</Payer>
</FinancePassRequest>

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

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>