POST api/FeeActivity/SaveVehicle?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}

保存车辆信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DomainId

域Id

globally unique identifier

None.

AccountId

账户Id

globally unique identifier

None.

PersonId

人员Id

globally unique identifier

None.

Body Parameters

SaveVehicleVM
NameDescriptionTypeAdditional information
VehicleNumber

string

None.

ModelNumber

string

None.

Remark

string

None.

VehicleType

string

None.

VehicleTypeKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleNumber": "sample string 1",
  "ModelNumber": "sample string 2",
  "Remark": "sample string 3",
  "VehicleType": "sample string 4",
  "VehicleTypeKey": "sample string 5"
}

application/xml, text/xml

Sample:
<SaveVehicleVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.App.WebAPI.Areas.FeeActivity.ViewModel">
  <ModelNumber>sample string 2</ModelNumber>
  <Remark>sample string 3</Remark>
  <VehicleNumber>sample string 1</VehicleNumber>
  <VehicleType>sample string 4</VehicleType>
  <VehicleTypeKey>sample string 5</VehicleTypeKey>
</SaveVehicleVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfBoolean
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": true
}

application/xml, text/xml

Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
  <Code>Success</Code>
  <Data>true</Data>
  <Message>sample string 1</Message>
</ResultModelOfboolean>