POST api/CarPool/CreateNewMemberCarPool
会员中心 - 创建顺风车信息
Request Information
URI Parameters
None.
Body Parameters
CarPoolCreateOrUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
自增id |
integer |
None. |
| CarPoolType |
顺风车类型 |
CarPoolType |
None. |
| CarStartDate |
顺风车出发时间 |
date |
None. |
| FromPlace |
出发地 |
string |
None. |
| ToPlace |
目的地 |
string |
None. |
| Comment |
情况说明 |
string |
None. |
| Phone |
发布人手机 |
string |
None. |
|
微信号 |
string |
None. |
|
| PersonNums |
人数 |
integer |
None. |
| GpsX |
信息X坐标 |
decimal number |
None. |
| GpsY |
信息Y坐标 |
decimal number |
None. |
| IpAddress |
发布人ip,前端不必填入 |
string |
None. |
| Propertys |
顺风车特色 |
Collection of string |
None. |
| IsTop |
是否置顶 |
boolean |
None. |
| TopDate |
顺风车信息房源付费置顶时间 |
date |
None. |
| FlushDate |
自动刷新服务截至时间 |
date |
None. |
| IsAutoRefreshing |
信息是否自动刷新中 |
boolean |
None. |
| ScanCode |
二维码 |
string |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<CarPoolCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Info.Service.Dto.CarPool">
<CarPoolType>CarLookForPerson</CarPoolType>
<CarStartDate>2025-12-16T15:56:33.7056226+08:00</CarStartDate>
<Comment>sample string 4</Comment>
<FlushDate>2025-12-16T15:56:33.7056226+08:00</FlushDate>
<FromPlace>sample string 2</FromPlace>
<GpsX>8.1</GpsX>
<GpsY>9.1</GpsY>
<Id>1</Id>
<IpAddress>sample string 10</IpAddress>
<IsTop>true</IsTop>
<PersonNums>7</PersonNums>
<Phone>sample string 5</Phone>
<Propertys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Propertys>
<ScanCode>sample string 12</ScanCode>
<ToPlace>sample string 3</ToPlace>
<TopDate>2025-12-16T15:56:33.7056226+08:00</TopDate>
<WeChat>sample string 6</WeChat>
</CarPoolCreateOrUpdateDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
会员中心 - 创建顺风车信息
ObjectNone.
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />