actv 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -0
- data/actv.gemspec +1 -0
- data/lib/actv/asset.rb +23 -12
- data/lib/actv/asset_topic.rb +4 -0
- data/lib/actv/client.rb +11 -8
- data/lib/actv/version.rb +1 -1
- data/spec/actv/asset_spec.rb +92 -74
- data/spec/actv/asset_topic_spec.rb +18 -0
- data/spec/actv/client/assets_spec.rb +3 -3
- data/spec/actv/client/event_results_spec.rb +1 -1
- data/spec/actv/client_spec.rb +14 -0
- data/spec/actv_spec.rb +3 -3
- data/spec/fixtures/valid_assets.json +839 -0
- metadata +82 -29
- checksums.yaml +0 -7
data/spec/actv_spec.rb
CHANGED
@@ -9,13 +9,13 @@ describe ACTV do
|
|
9
9
|
context "when delegating to a client" do
|
10
10
|
|
11
11
|
before do
|
12
|
-
|
12
|
+
stub_post("/v2/assets.json").with(:body => {"id"=>"valid_asset"}).
|
13
13
|
to_return(body: fixture("valid_asset.json"), headers: { content_type: "application/json; charset=utf-8" })
|
14
14
|
end
|
15
15
|
|
16
16
|
it "requests the correct resource" do
|
17
17
|
ACTV.asset('valid_asset')
|
18
|
-
|
18
|
+
a_post("/v2/assets.json").should have_been_made
|
19
19
|
end
|
20
20
|
|
21
21
|
it "returns the same results as a client" do
|
@@ -57,4 +57,4 @@ describe ACTV do
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
end
|
60
|
+
end
|
@@ -0,0 +1,839 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"assetVersion": 245,
|
4
|
+
"detailPageTemplateId": "",
|
5
|
+
"salesStartDate": "2014-01-27T16:08:00",
|
6
|
+
"assetChannels": [
|
7
|
+
{
|
8
|
+
"sequence": "1",
|
9
|
+
"channel": {
|
10
|
+
"channelName": "Triathlon",
|
11
|
+
"channelId": "1027",
|
12
|
+
"channelDsc": "Triathlon"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"sequence": "2",
|
17
|
+
"channel": {
|
18
|
+
"channelName": "Duathlon",
|
19
|
+
"channelId": "1007",
|
20
|
+
"channelDsc": "Duathlon"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"assetDsc": "",
|
25
|
+
"salesEndDate": "2014-09-03T15:08:00",
|
26
|
+
"sorId": "",
|
27
|
+
"assetDescriptions": [
|
28
|
+
{
|
29
|
+
"description": "<p>Pacific Coast Triathlon offers something for everyone! This sprint distance race is as challenging as it is scenic. Taking place at Crystal Cove State Park. There is a triathlon, duathlon, aquathlon and a super sprint that is great for kids and first timers! Come on out.</p><h4>Event details and schedule</h4><p></p>",
|
30
|
+
"descriptionType": {
|
31
|
+
"descriptionTypeName": "Standard",
|
32
|
+
"descriptionTypeId": "6"
|
33
|
+
}
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"alternateName": "",
|
37
|
+
"currencyCd": "USD",
|
38
|
+
"teamUrlAdr": "",
|
39
|
+
"timezone": "UTC",
|
40
|
+
"evergreenAssetFlag": "false",
|
41
|
+
"assetImages": [
|
42
|
+
{
|
43
|
+
"linkUrl": "",
|
44
|
+
"imageCaptionTxt": "",
|
45
|
+
"imageName": "",
|
46
|
+
"linkTarget": "",
|
47
|
+
"imageUrlAdr": "http://photos-images.active.com/file/3/1/original/a3e9a23f-a0fa-4481-b5d5-010dd53e3bcd.jpg"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"localTimeZoneId": "US/Pacific",
|
51
|
+
"assetLegacyData": {
|
52
|
+
"participationCriteriaTxt": "Family||Kids",
|
53
|
+
"trackbackUrl": "",
|
54
|
+
"userCommentTxt": "",
|
55
|
+
"onlineMembershipCostAmt": "",
|
56
|
+
"estParticipantNb": "",
|
57
|
+
"isSearchable": "false",
|
58
|
+
"priceExtensionTxt": "",
|
59
|
+
"eventCategories": "",
|
60
|
+
"onlineMembership": "",
|
61
|
+
"uploadSearchUrlAdr": "",
|
62
|
+
"costAmt": "",
|
63
|
+
"createdDate": "2014-01-23T04:07:57",
|
64
|
+
"substitutionUrl": "E-00745Z8R",
|
65
|
+
"minGuaranteedGameNb": "",
|
66
|
+
"genderRequirementTxt": "",
|
67
|
+
"onlineRegistration": "true",
|
68
|
+
"modifiedDate": "2014-08-13T09:11:14",
|
69
|
+
"searchWeight": "",
|
70
|
+
"typeName": "",
|
71
|
+
"avgUserRatingTxt": "",
|
72
|
+
"onlineDonation": "",
|
73
|
+
"maxTeamNb": "",
|
74
|
+
"assetTypeId": "dfaa997a-d591-44ca-9fb7-bf4a4c8984f1",
|
75
|
+
"seoUrl": "http://www.active.com/triathlon/laguna-beach-ca/pc-triathlon-2014",
|
76
|
+
"authorName": "",
|
77
|
+
"multipleStartDate": ""
|
78
|
+
},
|
79
|
+
"retryDate": "2014-08-07T12:25:57",
|
80
|
+
"registrationUrlAdr": "https://endurancecui.active.com/event-reg/select-race?e=6589554",
|
81
|
+
"place": {
|
82
|
+
"timezoneDST": 1,
|
83
|
+
"localityName": "",
|
84
|
+
"countryName": "United States",
|
85
|
+
"dma": {
|
86
|
+
"dmaName": "Los Angeles",
|
87
|
+
"dmaId": "803"
|
88
|
+
},
|
89
|
+
"cityName": "Laguna Beach",
|
90
|
+
"countryCode": "USA",
|
91
|
+
"timezoneOffset": -8,
|
92
|
+
"placeName": "Crystal Cove State Park",
|
93
|
+
"addressLine1Txt": "8471 N Coast Hwy",
|
94
|
+
"directionsTxt": "",
|
95
|
+
"placeGuid": "4e75d289-7f13-44ab-a2f1-6c2d84311aa5",
|
96
|
+
"placeDsc": "",
|
97
|
+
"timezone": "America/Los_Angeles",
|
98
|
+
"geoPoint": {
|
99
|
+
"lon": "-117.825637",
|
100
|
+
"lat": "33.564242"
|
101
|
+
},
|
102
|
+
"postalCode": "92651",
|
103
|
+
"stateProvinceCode": "CA",
|
104
|
+
"placeUrlAdr": "",
|
105
|
+
"longitude": "-117.825637",
|
106
|
+
"latitude": "33.564242",
|
107
|
+
"addressLine2Txt": ""
|
108
|
+
},
|
109
|
+
"overrideSeourlFlag": "false",
|
110
|
+
"createdDate": "2014-01-23T04:07:57",
|
111
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
112
|
+
"publishDate": null,
|
113
|
+
"activenetTopGraphic": {},
|
114
|
+
"resultsUrlAdr": "",
|
115
|
+
"assetCategories": [
|
116
|
+
{
|
117
|
+
"category": {
|
118
|
+
"categoryName": "Races",
|
119
|
+
"categoryId": "22",
|
120
|
+
"categoryTaxonomy": "Event/Races"
|
121
|
+
},
|
122
|
+
"sequence": "1"
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"contactEmailAdr": "",
|
126
|
+
"retryCounter": "2",
|
127
|
+
"assetSeoUrls": [
|
128
|
+
{
|
129
|
+
"statusCode": "true",
|
130
|
+
"seoSystemName": "as3",
|
131
|
+
"urlAdr": "http://www.active.com/laguna-beach-ca/duathlon/races/pc-triathlon-2014"
|
132
|
+
}
|
133
|
+
],
|
134
|
+
"homePageUrlAdr": "http://www.octriseries.com",
|
135
|
+
"assetDeals": [],
|
136
|
+
"assetStatus": {
|
137
|
+
"assetStatusName": "VISIBLE",
|
138
|
+
"assetStatusId": "2"
|
139
|
+
},
|
140
|
+
"market": {
|
141
|
+
"marketId": "10",
|
142
|
+
"marketName": "endurance-triathlon"
|
143
|
+
},
|
144
|
+
"assetInterests": [],
|
145
|
+
"sourceSystem": {
|
146
|
+
"affiliate": "true",
|
147
|
+
"legacyGuid": "DFAA997A-D591-44CA-9FB7-BF4A4C8984F1",
|
148
|
+
"sourceSystemName": "ActiveWorks Endurance"
|
149
|
+
},
|
150
|
+
"contactName": "",
|
151
|
+
"assetMediaTypes": [
|
152
|
+
{
|
153
|
+
"sequence": "1",
|
154
|
+
"mediaType": {
|
155
|
+
"mediaTypeId": "78",
|
156
|
+
"mediaTypeDsc": "",
|
157
|
+
"mediaTypeName": "difficulty:Beginner"
|
158
|
+
}
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"sequence": "2",
|
162
|
+
"mediaType": {
|
163
|
+
"mediaTypeId": "8",
|
164
|
+
"mediaTypeDsc": "",
|
165
|
+
"mediaTypeName": "Other"
|
166
|
+
}
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"sequence": "3",
|
170
|
+
"mediaType": {
|
171
|
+
"mediaTypeId": "166",
|
172
|
+
"mediaTypeDsc": "",
|
173
|
+
"mediaTypeName": "difficulty:Intermediate"
|
174
|
+
}
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"sequence": "4",
|
178
|
+
"mediaType": {
|
179
|
+
"mediaTypeId": "170",
|
180
|
+
"mediaTypeDsc": "",
|
181
|
+
"mediaTypeName": "Super Sprint"
|
182
|
+
}
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"sequence": "5",
|
186
|
+
"mediaType": {
|
187
|
+
"mediaTypeId": "139",
|
188
|
+
"mediaTypeDsc": "",
|
189
|
+
"mediaTypeName": "difficulty:Advanced"
|
190
|
+
}
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"sequence": "6",
|
194
|
+
"mediaType": {
|
195
|
+
"mediaTypeId": "2",
|
196
|
+
"mediaTypeDsc": "",
|
197
|
+
"mediaTypeName": "Event"
|
198
|
+
}
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"sequence": "7",
|
202
|
+
"mediaType": {
|
203
|
+
"mediaTypeId": "3",
|
204
|
+
"mediaTypeDsc": "",
|
205
|
+
"mediaTypeName": "Sprint"
|
206
|
+
}
|
207
|
+
}
|
208
|
+
],
|
209
|
+
"showContact": "false",
|
210
|
+
"authorName": "",
|
211
|
+
"assetAttributes": [
|
212
|
+
{
|
213
|
+
"attribute": {
|
214
|
+
"attributeValue": "Sprint",
|
215
|
+
"attributeType": "Distance (triathlon)",
|
216
|
+
"tagId": "58720"
|
217
|
+
}
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"attribute": {
|
221
|
+
"attributeValue": "Advanced",
|
222
|
+
"attributeType": "Skill level",
|
223
|
+
"tagId": "58740"
|
224
|
+
}
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"attribute": {
|
228
|
+
"attributeValue": "Super sprint",
|
229
|
+
"attributeType": "Distance (triathlon)",
|
230
|
+
"tagId": "58721"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
{
|
234
|
+
"attribute": {
|
235
|
+
"attributeValue": "Beginner",
|
236
|
+
"attributeType": "Skill level",
|
237
|
+
"tagId": "58738"
|
238
|
+
}
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"attribute": {
|
242
|
+
"attributeValue": "Intermediate",
|
243
|
+
"attributeType": "Skill level",
|
244
|
+
"tagId": "58739"
|
245
|
+
}
|
246
|
+
}
|
247
|
+
],
|
248
|
+
"localeCd": "",
|
249
|
+
"assetComponents": [
|
250
|
+
{
|
251
|
+
"assetName": "Age Grouper - Triathlon - Individual Age Group/Clydes/Athena/Open",
|
252
|
+
"assetGuid": "9686dbdc-e3fa-4ec8-b3a3-a37a3405fa9c",
|
253
|
+
"sequence": "1",
|
254
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
255
|
+
"assetSeoUrls": [],
|
256
|
+
"activityStartDate": "2014-09-07T07:00:00"
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"assetName": "HEROES - Triathlon - Individual Age group/open",
|
260
|
+
"assetGuid": "6f2951b2-8fcc-4a56-a424-83622946bf4e",
|
261
|
+
"sequence": "2",
|
262
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
263
|
+
"assetSeoUrls": [],
|
264
|
+
"activityStartDate": "2014-09-07T07:00:00"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"assetName": "RELAY - Triathlon - Relay (registering 2-3 members)",
|
268
|
+
"assetGuid": "76f635d8-38f0-49de-a21d-b8a23d9d4b7c",
|
269
|
+
"sequence": "3",
|
270
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
271
|
+
"assetSeoUrls": [],
|
272
|
+
"activityStartDate": "2014-09-07T07:00:00"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"assetName": "Duathlon-1k beach run/12m bike/3 m run - Individual Age group/open",
|
276
|
+
"assetGuid": "94cb6e18-4c47-4c1d-8fb2-51c5d938cc98",
|
277
|
+
"sequence": "5",
|
278
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
279
|
+
"assetSeoUrls": [],
|
280
|
+
"activityStartDate": "2014-09-07T07:00:00"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"assetName": "Triathlon-Super Sprint and KID's TRIATHLON - Individual Age group/open",
|
284
|
+
"assetGuid": "8ce41087-8adf-4141-b81d-5d968995bf63",
|
285
|
+
"sequence": "6",
|
286
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
287
|
+
"assetSeoUrls": [],
|
288
|
+
"activityStartDate": "2014-09-07T07:00:00"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"assetName": "Aquathlon - Individual Age group/open",
|
292
|
+
"assetGuid": "4cfb31b6-c800-41f5-bf0d-6e974d0c5ffb",
|
293
|
+
"sequence": "7",
|
294
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
295
|
+
"assetSeoUrls": [],
|
296
|
+
"activityStartDate": "2014-09-07T07:00:00"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"assetName": "KID'S DUATHLON - KId's Duathlon",
|
300
|
+
"assetGuid": "1b060ecd-2795-404c-950a-04f36f0f98e4",
|
301
|
+
"sequence": "9",
|
302
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
303
|
+
"assetSeoUrls": [],
|
304
|
+
"activityStartDate": "2014-09-07T07:00:00"
|
305
|
+
}
|
306
|
+
],
|
307
|
+
"assetPopularity": {
|
308
|
+
"rank": 12219,
|
309
|
+
"results": 544,
|
310
|
+
"views": 2579,
|
311
|
+
"createdAt": 1408407161,
|
312
|
+
"clicks": 1653,
|
313
|
+
"searches": 70,
|
314
|
+
"A3Rank": 1000,
|
315
|
+
"clickTypes": {
|
316
|
+
"otherActive": 1014,
|
317
|
+
"nonActive": 98,
|
318
|
+
"registration": 541
|
319
|
+
}
|
320
|
+
},
|
321
|
+
"socialMedia": [],
|
322
|
+
"contactTxt": "",
|
323
|
+
"sorCreateUserId": "",
|
324
|
+
"evergreenAssets": [],
|
325
|
+
"regReqMinAge": "",
|
326
|
+
"assetRootAsset": {},
|
327
|
+
"preferredUrlAdr": "",
|
328
|
+
"registrantSearchUrlAdr": "https://myevents.active.com/search/registration-search.faces?e=6589554&a=283659003",
|
329
|
+
"regReqGenderCd": "",
|
330
|
+
"organization": {
|
331
|
+
"organizationGuid": "51d612db-cea3-497e-a026-723afad616c2",
|
332
|
+
"organizationDsc": "",
|
333
|
+
"addressCityName": "Westlake Village",
|
334
|
+
"fax": "",
|
335
|
+
"addressPostalCd": "91361",
|
336
|
+
"sourceSystemGuid": "dfaa997a-d591-44ca-9fb7-bf4a4c8984f1",
|
337
|
+
"organizationName": "Pelican Promotions, Inc",
|
338
|
+
"addressStateProvinceCode": "CA",
|
339
|
+
"addressCountryCd": "USA",
|
340
|
+
"primaryContactPhone": "208-771-0266",
|
341
|
+
"addressLine1Txt": "30941 Agoura Road",
|
342
|
+
"primaryContactEmailAdr": "pelicanpromotions@gmail.com",
|
343
|
+
"imageUrlAdr": "",
|
344
|
+
"organizationUrlAdr": "http://octriseries.com",
|
345
|
+
"shortDsc": "",
|
346
|
+
"hideOrganizationContact": "false",
|
347
|
+
"addressLocalityName": "",
|
348
|
+
"showOrganizationName": "false",
|
349
|
+
"addressLine2Txt": "Suite 210",
|
350
|
+
"primaryContactName": "Bryan Ogle"
|
351
|
+
},
|
352
|
+
"evergreenParentAsset": {},
|
353
|
+
"assetQuantity": {},
|
354
|
+
"assetName": "PC Triathlon",
|
355
|
+
"contactPhone": "",
|
356
|
+
"assetMetaInterests": [
|
357
|
+
{
|
358
|
+
"metaInterest": {
|
359
|
+
"metaInterestName": "Family",
|
360
|
+
"metaInterestId": "2",
|
361
|
+
"metaInterestTaxonomy": "Family"
|
362
|
+
},
|
363
|
+
"sequence": "1"
|
364
|
+
}
|
365
|
+
],
|
366
|
+
"componentInUrlAdr": {},
|
367
|
+
"assetServiceHostName": "as-app01.active.tan",
|
368
|
+
"modifiedDate": "2014-08-13T09:11:16",
|
369
|
+
"assetPrices": [],
|
370
|
+
"assetTopics": [
|
371
|
+
{
|
372
|
+
"topic": {
|
373
|
+
"topicId": "26",
|
374
|
+
"topicTaxonomy": "Endurance/Duathlon",
|
375
|
+
"topicName": "Duathlon"
|
376
|
+
},
|
377
|
+
"sequence": "1"
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"topic": {
|
381
|
+
"topicId": "28",
|
382
|
+
"topicTaxonomy": "Endurance/Triathlon",
|
383
|
+
"topicName": "Triathlon"
|
384
|
+
},
|
385
|
+
"sequence": "2"
|
386
|
+
}
|
387
|
+
],
|
388
|
+
"assetGuid": "6776f4c6-aa2e-4a07-b90e-e2774d37b327",
|
389
|
+
"regReqMaxAge": "",
|
390
|
+
"donationUrlAdr": "",
|
391
|
+
"timezoneAbb": "",
|
392
|
+
"activityRecurrences": [],
|
393
|
+
"assetTags": [
|
394
|
+
{
|
395
|
+
"tag": {
|
396
|
+
"tagName": "Advanced",
|
397
|
+
"tagDescription": "Skill level",
|
398
|
+
"tagId": "58740"
|
399
|
+
}
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"tag": {
|
403
|
+
"tagName": "Intermediate",
|
404
|
+
"tagDescription": "Skill level",
|
405
|
+
"tagId": "58739"
|
406
|
+
}
|
407
|
+
},
|
408
|
+
{
|
409
|
+
"tag": {
|
410
|
+
"tagName": "true",
|
411
|
+
"tagDescription": "usatsanctioned",
|
412
|
+
"tagId": "125980"
|
413
|
+
}
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"tag": {
|
417
|
+
"tagName": "Beginner",
|
418
|
+
"tagDescription": "Skill level",
|
419
|
+
"tagId": "58738"
|
420
|
+
}
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"tag": {
|
424
|
+
"tagName": "Sprint",
|
425
|
+
"tagDescription": "Distance (triathlon)",
|
426
|
+
"tagId": "58720"
|
427
|
+
}
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"tag": {
|
431
|
+
"tagName": "Super sprint",
|
432
|
+
"tagDescription": "Distance (triathlon)",
|
433
|
+
"tagId": "58721"
|
434
|
+
}
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"tag": {
|
438
|
+
"tagName": "true",
|
439
|
+
"tagDescription": "activeadvantage",
|
440
|
+
"tagId": "32308"
|
441
|
+
}
|
442
|
+
}
|
443
|
+
],
|
444
|
+
"childIndex": "",
|
445
|
+
"assetParentAsset": {},
|
446
|
+
"urlAdr": "",
|
447
|
+
"activityStartDate": "2014-09-07T07:00:00",
|
448
|
+
"sorCreateDtm": null,
|
449
|
+
"timezoneName": "",
|
450
|
+
"logoUrlAdr": "http://photos-images.active.com/file/3/1/original/a3e9a23f-a0fa-4481-b5d5-010dd53e3bcd.jpg",
|
451
|
+
"salesStatus": "registration-open"
|
452
|
+
},
|
453
|
+
{
|
454
|
+
"assetVersion": 6,
|
455
|
+
"assetStatus": {
|
456
|
+
"assetStatusId": "2",
|
457
|
+
"assetStatusName": "VISIBLE"
|
458
|
+
},
|
459
|
+
"organization": {
|
460
|
+
"organizationGuid": "51d612db-cea3-497e-a026-723afad616c2",
|
461
|
+
"organizationName": "Pelican Promotions, Inc",
|
462
|
+
"organizationDsc": "",
|
463
|
+
"organizationUrlAdr": "http://octriseries.com",
|
464
|
+
"addressLine1Txt": "30941 Agoura Road",
|
465
|
+
"addressLine2Txt": "Suite 210",
|
466
|
+
"addressCityName": "Westlake Village",
|
467
|
+
"addressStateProvinceCode": "CA",
|
468
|
+
"addressLocalityName": "",
|
469
|
+
"addressPostalCd": "91361",
|
470
|
+
"addressCountryCd": "USA",
|
471
|
+
"fax": "",
|
472
|
+
"sourceSystemGuid": "dfaa997a-d591-44ca-9fb7-bf4a4c8984f1",
|
473
|
+
"primaryContactEmailAdr": "pelicanpromotions@gmail.com",
|
474
|
+
"primaryContactPhone": "208-771-0266",
|
475
|
+
"primaryContactName": "Bryan Ogle",
|
476
|
+
"imageUrlAdr": "",
|
477
|
+
"shortDsc": "",
|
478
|
+
"showOrganizationName": "false",
|
479
|
+
"hideOrganizationContact": "false"
|
480
|
+
},
|
481
|
+
"place": {
|
482
|
+
"placeGuid": "4e75d289-7f13-44ab-a2f1-6c2d84311aa5",
|
483
|
+
"placeName": "Crystal Cove State Park",
|
484
|
+
"placeDsc": "",
|
485
|
+
"placeUrlAdr": "",
|
486
|
+
"addressLine1Txt": "8471 N Coast Hwy",
|
487
|
+
"addressLine2Txt": "",
|
488
|
+
"cityName": "Laguna Beach",
|
489
|
+
"stateProvinceCode": "CA",
|
490
|
+
"localityName": "",
|
491
|
+
"postalCode": "92651",
|
492
|
+
"countryName": "United States",
|
493
|
+
"countryCode": "USA",
|
494
|
+
"timezone": "America/Los_Angeles",
|
495
|
+
"timezoneOffset": -8,
|
496
|
+
"timezoneDST": 1,
|
497
|
+
"latitude": "33.564242",
|
498
|
+
"longitude": "-117.825637",
|
499
|
+
"directionsTxt": "",
|
500
|
+
"geoPoint": {
|
501
|
+
"lat": "33.564242",
|
502
|
+
"lon": "-117.825637"
|
503
|
+
},
|
504
|
+
"dma": {
|
505
|
+
"dmaId": "803",
|
506
|
+
"dmaName": "Los Angeles"
|
507
|
+
}
|
508
|
+
},
|
509
|
+
"evergreenParentAsset": {},
|
510
|
+
"sourceSystem": {
|
511
|
+
"sourceSystemName": "ActiveWorks Endurance",
|
512
|
+
"legacyGuid": "DFAA997A-D591-44CA-9FB7-BF4A4C8984F1",
|
513
|
+
"affiliate": "true"
|
514
|
+
},
|
515
|
+
"assetRootAsset": {},
|
516
|
+
"assetParentAsset": {
|
517
|
+
"assetGuid": "6776f4c6-aa2e-4a07-b90e-e2774d37b327"
|
518
|
+
},
|
519
|
+
"market": {
|
520
|
+
"marketId": "6",
|
521
|
+
"marketName": "endurance-duathlon"
|
522
|
+
},
|
523
|
+
"assetGuid": "6f2951b2-8fcc-4a56-a424-83622946bf4e",
|
524
|
+
"assetName": "HEROES - Triathlon - Individual Age group/open",
|
525
|
+
"assetDsc": "",
|
526
|
+
"alternateName": "",
|
527
|
+
"timezone": "UTC",
|
528
|
+
"localTimeZoneId": "US/Pacific",
|
529
|
+
"timezoneAbb": "",
|
530
|
+
"timezoneName": "",
|
531
|
+
"currencyCd": "USD",
|
532
|
+
"localeCd": "",
|
533
|
+
"salesStartDate": "2014-01-27T16:08:00",
|
534
|
+
"salesEndDate": "2014-09-03T15:08:00",
|
535
|
+
"urlAdr": "",
|
536
|
+
"detailPageTemplateId": "",
|
537
|
+
"preferredUrlAdr": "",
|
538
|
+
"logoUrlAdr": "http://photos-images.active.com/file/3/1/original/a3e9a23f-a0fa-4481-b5d5-010dd53e3bcd.jpg",
|
539
|
+
"activityStartDate": "2014-09-07T07:00:00",
|
540
|
+
"activityEndDate": "2014-09-08T06:59:59",
|
541
|
+
"donationUrlAdr": "",
|
542
|
+
"teamUrlAdr": "",
|
543
|
+
"homePageUrlAdr": "http://www.octriseries.com",
|
544
|
+
"registrationUrlAdr": "https://endurancecui.active.com/event-reg/select-race?e=6589554",
|
545
|
+
"registrantSearchUrlAdr": "https://myevents.active.com/search/registration-search.faces?e=6589554&a=283659003",
|
546
|
+
"regReqMinAge": "",
|
547
|
+
"regReqMaxAge": "",
|
548
|
+
"regReqGenderCd": "",
|
549
|
+
"resultsUrlAdr": "",
|
550
|
+
"contactName": "",
|
551
|
+
"contactEmailAdr": "",
|
552
|
+
"contactPhone": "",
|
553
|
+
"contactTxt": "",
|
554
|
+
"showContact": "false",
|
555
|
+
"sorId": "",
|
556
|
+
"sorCreateDtm": null,
|
557
|
+
"sorCreateUserId": "",
|
558
|
+
"authorName": "",
|
559
|
+
"childIndex": "2",
|
560
|
+
"publishDate": null,
|
561
|
+
"createdDate": "2014-08-07T11:32:44",
|
562
|
+
"modifiedDate": "2014-08-07T16:16:02",
|
563
|
+
"retryDate": "2014-08-07T12:26:02",
|
564
|
+
"retryCounter": "2",
|
565
|
+
"activityRecurrences": [],
|
566
|
+
"assetQuantity": {},
|
567
|
+
"assetLegacyData": {
|
568
|
+
"assetTypeId": "dfaa997a-d591-44ca-9fb7-bf4a4c8984f1",
|
569
|
+
"typeName": "",
|
570
|
+
"uploadSearchUrlAdr": "",
|
571
|
+
"authorName": "",
|
572
|
+
"onlineRegistration": "true",
|
573
|
+
"onlineDonation": "",
|
574
|
+
"onlineMembership": "",
|
575
|
+
"onlineMembershipCostAmt": "",
|
576
|
+
"costAmt": "",
|
577
|
+
"avgUserRatingTxt": "",
|
578
|
+
"estParticipantNb": "",
|
579
|
+
"maxTeamNb": "",
|
580
|
+
"minGuaranteedGameNb": "",
|
581
|
+
"multipleStartDate": "",
|
582
|
+
"genderRequirementTxt": "",
|
583
|
+
"participationCriteriaTxt": "Family||Kids",
|
584
|
+
"userCommentTxt": "",
|
585
|
+
"priceExtensionTxt": "",
|
586
|
+
"searchWeight": "",
|
587
|
+
"seoUrl": "",
|
588
|
+
"substitutionUrl": "E-00745Z8R",
|
589
|
+
"trackbackUrl": "",
|
590
|
+
"eventCategories": "",
|
591
|
+
"isSearchable": "false",
|
592
|
+
"createdDate": "2014-08-07T11:32:44",
|
593
|
+
"modifiedDate": "2014-08-07T11:32:44"
|
594
|
+
},
|
595
|
+
"assetTags": [
|
596
|
+
{
|
597
|
+
"tag": {
|
598
|
+
"tagId": "58740",
|
599
|
+
"tagName": "Advanced",
|
600
|
+
"tagDescription": "Skill level"
|
601
|
+
}
|
602
|
+
},
|
603
|
+
{
|
604
|
+
"tag": {
|
605
|
+
"tagId": "32308",
|
606
|
+
"tagName": "true",
|
607
|
+
"tagDescription": "activeadvantage"
|
608
|
+
}
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"tag": {
|
612
|
+
"tagId": "58720",
|
613
|
+
"tagName": "Sprint",
|
614
|
+
"tagDescription": "Distance (triathlon)"
|
615
|
+
}
|
616
|
+
},
|
617
|
+
{
|
618
|
+
"tag": {
|
619
|
+
"tagId": "58739",
|
620
|
+
"tagName": "Intermediate",
|
621
|
+
"tagDescription": "Skill level"
|
622
|
+
}
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"tag": {
|
626
|
+
"tagId": "58738",
|
627
|
+
"tagName": "Beginner",
|
628
|
+
"tagDescription": "Skill level"
|
629
|
+
}
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"tag": {
|
633
|
+
"tagId": "125980",
|
634
|
+
"tagName": "true",
|
635
|
+
"tagDescription": "usatsanctioned"
|
636
|
+
}
|
637
|
+
},
|
638
|
+
{
|
639
|
+
"tag": {
|
640
|
+
"tagId": "58721",
|
641
|
+
"tagName": "Super sprint",
|
642
|
+
"tagDescription": "Distance (triathlon)"
|
643
|
+
}
|
644
|
+
}
|
645
|
+
],
|
646
|
+
"assetAttributes": [
|
647
|
+
{
|
648
|
+
"attribute": {
|
649
|
+
"tagId": "58739",
|
650
|
+
"attributeValue": "Intermediate",
|
651
|
+
"attributeType": "Skill level"
|
652
|
+
}
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"attribute": {
|
656
|
+
"tagId": "58721",
|
657
|
+
"attributeValue": "Super sprint",
|
658
|
+
"attributeType": "Distance (triathlon)"
|
659
|
+
}
|
660
|
+
},
|
661
|
+
{
|
662
|
+
"attribute": {
|
663
|
+
"tagId": "58738",
|
664
|
+
"attributeValue": "Beginner",
|
665
|
+
"attributeType": "Skill level"
|
666
|
+
}
|
667
|
+
},
|
668
|
+
{
|
669
|
+
"attribute": {
|
670
|
+
"tagId": "58740",
|
671
|
+
"attributeValue": "Advanced",
|
672
|
+
"attributeType": "Skill level"
|
673
|
+
}
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"attribute": {
|
677
|
+
"tagId": "58720",
|
678
|
+
"attributeValue": "Sprint",
|
679
|
+
"attributeType": "Distance (triathlon)"
|
680
|
+
}
|
681
|
+
}
|
682
|
+
],
|
683
|
+
"assetPrices": [
|
684
|
+
{
|
685
|
+
"effectiveUntilDate": "2014-03-02T07:59:00",
|
686
|
+
"priceAmt": "105",
|
687
|
+
"maxPriceAmt": null,
|
688
|
+
"minPriceAmt": null
|
689
|
+
},
|
690
|
+
{
|
691
|
+
"effectiveUntilDate": "2014-08-09T06:59:00",
|
692
|
+
"priceAmt": "115",
|
693
|
+
"maxPriceAmt": null,
|
694
|
+
"minPriceAmt": null
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"effectiveUntilDate": "2970-01-01T00:00:00",
|
698
|
+
"priceAmt": "125",
|
699
|
+
"maxPriceAmt": null,
|
700
|
+
"minPriceAmt": null
|
701
|
+
}
|
702
|
+
],
|
703
|
+
"assetDescriptions": [
|
704
|
+
{
|
705
|
+
"descriptionType": {
|
706
|
+
"descriptionTypeId": "6",
|
707
|
+
"descriptionTypeName": "Standard"
|
708
|
+
},
|
709
|
+
"description": "<p>Pacific Coast Triathlon offers something for everyone! This sprint distance race is as challenging as it is scenic. Taking place at Crystal Cove State Park. There is a triathlon, duathlon, aquathlon and a super sprint that is great for kids and first timers! Come on out.</p><h4>Event details and schedule</h4><p></p>"
|
710
|
+
}
|
711
|
+
],
|
712
|
+
"assetChannels": [
|
713
|
+
{
|
714
|
+
"sequence": "1",
|
715
|
+
"channel": {
|
716
|
+
"channelId": "1007",
|
717
|
+
"channelName": "Duathlon",
|
718
|
+
"channelDsc": "Duathlon"
|
719
|
+
}
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"sequence": "2",
|
723
|
+
"channel": {
|
724
|
+
"channelId": "1027",
|
725
|
+
"channelName": "Triathlon",
|
726
|
+
"channelDsc": "Triathlon"
|
727
|
+
}
|
728
|
+
}
|
729
|
+
],
|
730
|
+
"assetMediaTypes": [
|
731
|
+
{
|
732
|
+
"sequence": "1",
|
733
|
+
"mediaType": {
|
734
|
+
"mediaTypeId": "78",
|
735
|
+
"mediaTypeName": "difficulty:Beginner",
|
736
|
+
"mediaTypeDsc": ""
|
737
|
+
}
|
738
|
+
},
|
739
|
+
{
|
740
|
+
"sequence": "2",
|
741
|
+
"mediaType": {
|
742
|
+
"mediaTypeId": "8",
|
743
|
+
"mediaTypeName": "Other",
|
744
|
+
"mediaTypeDsc": ""
|
745
|
+
}
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"sequence": "3",
|
749
|
+
"mediaType": {
|
750
|
+
"mediaTypeId": "166",
|
751
|
+
"mediaTypeName": "difficulty:Intermediate",
|
752
|
+
"mediaTypeDsc": ""
|
753
|
+
}
|
754
|
+
},
|
755
|
+
{
|
756
|
+
"sequence": "4",
|
757
|
+
"mediaType": {
|
758
|
+
"mediaTypeId": "170",
|
759
|
+
"mediaTypeName": "Super Sprint",
|
760
|
+
"mediaTypeDsc": ""
|
761
|
+
}
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"sequence": "5",
|
765
|
+
"mediaType": {
|
766
|
+
"mediaTypeId": "139",
|
767
|
+
"mediaTypeName": "difficulty:Advanced",
|
768
|
+
"mediaTypeDsc": ""
|
769
|
+
}
|
770
|
+
},
|
771
|
+
{
|
772
|
+
"sequence": "6",
|
773
|
+
"mediaType": {
|
774
|
+
"mediaTypeId": "2",
|
775
|
+
"mediaTypeName": "Event",
|
776
|
+
"mediaTypeDsc": ""
|
777
|
+
}
|
778
|
+
},
|
779
|
+
{
|
780
|
+
"sequence": "7",
|
781
|
+
"mediaType": {
|
782
|
+
"mediaTypeId": "3",
|
783
|
+
"mediaTypeName": "Sprint",
|
784
|
+
"mediaTypeDsc": ""
|
785
|
+
}
|
786
|
+
}
|
787
|
+
],
|
788
|
+
"assetImages": [
|
789
|
+
{
|
790
|
+
"imageUrlAdr": "http://photos-images.active.com/file/3/1/original/a3e9a23f-a0fa-4481-b5d5-010dd53e3bcd.jpg",
|
791
|
+
"imageName": "",
|
792
|
+
"linkUrl": "",
|
793
|
+
"linkTarget": "",
|
794
|
+
"imageCaptionTxt": ""
|
795
|
+
}
|
796
|
+
],
|
797
|
+
"assetTopics": [
|
798
|
+
{
|
799
|
+
"sequence": "1",
|
800
|
+
"topic": {
|
801
|
+
"topicId": "26",
|
802
|
+
"topicTaxonomy": "Endurance/Duathlon",
|
803
|
+
"topicName": "Duathlon"
|
804
|
+
}
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"sequence": "2",
|
808
|
+
"topic": {
|
809
|
+
"topicId": "28",
|
810
|
+
"topicTaxonomy": "Endurance/Triathlon",
|
811
|
+
"topicName": "Triathlon"
|
812
|
+
}
|
813
|
+
}
|
814
|
+
],
|
815
|
+
"assetCategories": [
|
816
|
+
{
|
817
|
+
"sequence": "1",
|
818
|
+
"category": {
|
819
|
+
"categoryId": "2",
|
820
|
+
"categoryTaxonomy": "Event",
|
821
|
+
"categoryName": "Event"
|
822
|
+
}
|
823
|
+
}
|
824
|
+
],
|
825
|
+
"assetMetaInterests": [],
|
826
|
+
"assetInterests": [],
|
827
|
+
"assetDeals": [],
|
828
|
+
"socialMedia": [],
|
829
|
+
"assetComponents": [],
|
830
|
+
"assetServiceHostName": "as-app01.active.tan",
|
831
|
+
"componentInUrlAdr": {},
|
832
|
+
"assetSeoUrls": [],
|
833
|
+
"overrideSeourlFlag": "false",
|
834
|
+
"activenetTopGraphic": {},
|
835
|
+
"evergreenAssetFlag": "false",
|
836
|
+
"evergreenAssets": [],
|
837
|
+
"salesStatus": "registration-open"
|
838
|
+
}
|
839
|
+
]
|