POST api/application/car/authentication

车辆提交认证

Request Information

URI Parameters

None.

Body Parameters

CarDto
NameDescriptionTypeAdditional information
CustomerId

globally unique identifier

Required

CustomerName

string

None.

CarNumber

string

Required

String length: inclusive between 0 and 10

CarModel

string

String length: inclusive between 0 and 30

Color

CarColorType

None.

ColorDesc

string

None.

RegisterDate

date

None.

LicenseHomePage

string

None.

LicenseHomePageFull

string

None.

LicenseSecondPage

string

None.

LicenseSecondPageFull

string

None.

AuditStatus

AuditStatus

None.

AuditStatusDesc

string

None.

AuditSuggestion

string

None.

IsAutoPay

boolean

None.

AuditTime

date

None.

BindingAreaId

globally unique identifier

None.

IsEnergy

boolean

None.

CreationTime

date

None.

CreatorId

globally unique identifier

None.

LastModificationTime

date

None.

LastModifierId

globally unique identifier

None.

IsDeleted

boolean

Required

Version

Collection of byte

None.

OperationHtml

string

None.

ShowImagesHtml

string

None.

Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": "5806cf04-9d9f-40eb-bfc1-1169664d7f4a",
  "CustomerName": "sample string 2",
  "CarNumber": "sample string 3",
  "CarModel": "sample string 4",
  "Color": 0,
  "ColorDesc": "白色",
  "RegisterDate": "2025-11-08 18:54:44",
  "LicenseHomePage": "sample string 5",
  "LicenseHomePageFull": "http://sy-file.eos-hunan-1.cmecloud.cn/sample string 5",
  "LicenseSecondPage": "sample string 6",
  "LicenseSecondPageFull": "http://sy-file.eos-hunan-1.cmecloud.cn/sample string 6",
  "AuditStatus": 0,
  "AuditStatusDesc": "待提交",
  "AuditSuggestion": "sample string 7",
  "IsAutoPay": true,
  "AuditTime": "2025-11-08 18:54:44",
  "BindingAreaId": "49b1bcaa-48ab-4c50-b68c-19ccce16f8c2",
  "IsEnergy": true,
  "CreationTime": "2025-11-08 18:54:44",
  "CreatorId": "7fb6453a-41fc-4fbc-a271-994a4282e323",
  "LastModificationTime": "2025-11-08 18:54:44",
  "LastModifierId": "275b4dc5-14f6-429f-9b7a-eda198cd2db7",
  "IsDeleted": true,
  "Version": "QEA=",
  "OperationHtml": "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<a class='itemhf' style='color:#1483d8' href=\"#\" onclick=\"onGridSelectUnBind('sample string 10')\">解绑</a>",
  "ShowImagesHtml": "&nbsp&nbsp&nbsp&nbsp<a class='itemhf' style='color:#1483d8' href=\"#\" onclick=\"onGridSelectImages('sample string 10')\">查看大图</a>",
  "Id": "sample string 10"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: 没有类型为“Applications.Services.Dtos.Parks.CarDto”,属性为“ShowImagesHtml”的 Set 方法。

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: 没有类型为“Applications.Services.Dtos.Parks.CarDto”,属性为“ShowImagesHtml”的 Set 方法。

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

Response Information

Resource Description

ResultMessage
NameDescriptionTypeAdditional information
status

操作结果状态

MStatusCode

None.

message

操作结果消息

string

None.

errors

请求对象未通过验证的错误消息列表

Collection of ValidErrors

None.

url

操作成功后的跳转页面

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "message": "sample string 1",
  "errors": [
    {
      "field": "sample string 1",
      "errorMessages": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "field": "sample string 1",
      "errorMessages": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "url": "sample string 2"
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Applications.WebApi.Common">
  <Status>Fail</Status>
  <Message>sample string 1</Message>
  <Url>sample string 2</Url>
  <Errors>
    <ValidErrors>
      <_x003C_ErrorMessages_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </_x003C_ErrorMessages_x003E_k__BackingField>
      <_x003C_Field_x003E_k__BackingField>sample string 1</_x003C_Field_x003E_k__BackingField>
    </ValidErrors>
    <ValidErrors>
      <_x003C_ErrorMessages_x003E_k__BackingField xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </_x003C_ErrorMessages_x003E_k__BackingField>
      <_x003C_Field_x003E_k__BackingField>sample string 1</_x003C_Field_x003E_k__BackingField>
    </ValidErrors>
  </Errors>
</Result>