POST api/PromotionActivity/StartActivity?DomainId={DomainId}&AccountId={AccountId}&PersonId={PersonId}
活动开始 将记录保存到举证表
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
DomainId |
域Id |
globally unique identifier |
None. |
AccountId |
账户Id |
globally unique identifier |
None. |
PersonId |
人员Id |
globally unique identifier |
None. |
Body Parameters
StartActivityDtoName | Description | Type | Additional information |
---|---|---|---|
ActivityID | globally unique identifier |
None. |
|
LNG | decimal number |
None. |
|
LAT | decimal number |
None. |
|
Location | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ActivityID": "1b31a50a-347e-4d3d-bc57-0fcb00dd2806", "LNG": 1.0, "LAT": 2.0, "Location": "sample string 3" }
application/xml, text/xml
Sample:
<StartActivityDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity.DTO.ApiDTO"> <ActivityID>1b31a50a-347e-4d3d-bc57-0fcb00dd2806</ActivityID> <LAT>2</LAT> <LNG>1</LNG> <Location>sample string 3</Location> </StartActivityDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModelOfBooleanName | Description | Type | Additional 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>