GET Activity/ecomm_get_marketing?branchid={branchid}
Gets data of all activities which have marketing enabled.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| branchid |
ID of a Branch. |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
Array of activities data received and processed
Collection of Activity| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| name | string |
None. |
|
| ecomm_name | string |
None. |
|
| ecomm_description | string |
None. |
|
| waitlistenabled | boolean |
None. |
|
| color | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "sample string 1",
"name": "sample string 2",
"ecomm_name": "sample string 3",
"ecomm_description": "sample string 4",
"waitlistenabled": true,
"color": "sample string 6"
},
{
"id": "sample string 1",
"name": "sample string 2",
"ecomm_name": "sample string 3",
"ecomm_description": "sample string 4",
"waitlistenabled": true,
"color": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel">
<Activity>
<color>sample string 6</color>
<ecomm_description>sample string 4</ecomm_description>
<ecomm_name>sample string 3</ecomm_name>
<id>sample string 1</id>
<name>sample string 2</name>
<waitlistenabled>true</waitlistenabled>
</Activity>
<Activity>
<color>sample string 6</color>
<ecomm_description>sample string 4</ecomm_description>
<ecomm_name>sample string 3</ecomm_name>
<id>sample string 1</id>
<name>sample string 2</name>
<waitlistenabled>true</waitlistenabled>
</Activity>
</ArrayOfActivity>