POST api/dynamic/publish_dynamic
Request Information
URI Parameters
None.
Body Parameters
PublishDynamicRequestName | Description | Type | Additional information |
---|---|---|---|
guid | string |
None. |
|
is_delay | boolean |
None. |
|
delay_time | date |
None. |
|
visit_type | DynamicVisitTypeEnum |
None. |
|
is_position | boolean |
None. |
|
longitude | decimal number |
None. |
|
latitude | decimal number |
None. |
|
province | string |
None. |
|
city | string |
None. |
|
area | string |
None. |
|
address | string |
None. |
|
content | string |
None. |
|
images | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "guid": "sample string 1", "is_delay": true, "delay_time": "2024-11-23T02:44:37.0796561+08:00", "visit_type": 0, "is_position": true, "longitude": 4.0, "latitude": 5.0, "province": "sample string 6", "city": "sample string 7", "area": "sample string 8", "address": "sample string 9", "content": "sample string 10", "images": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<PublishDynamicRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeMe.ViewModel.ApiModel.Request"> <address>sample string 9</address> <area>sample string 8</area> <city>sample string 7</city> <content>sample string 10</content> <delay_time>2024-11-23T02:44:37.0796561+08:00</delay_time> <guid>sample string 1</guid> <images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </images> <is_delay>true</is_delay> <is_position>true</is_position> <latitude>5</latitude> <longitude>4</longitude> <province>sample string 6</province> <visit_type>公开</visit_type> </PublishDynamicRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, 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/" />