Will do
Okay so here it is:
Struggling on how to display the returned API data in the repeating group. Hoping to use the week# input as a query parameter in the Call to my API.
Thanks!
Here is RAML documentation for my API:
RAML 0.8
title: Sample Schedule
version: “1.1.0”
baseUri: “https://sampleschedule.apispark.net/v1”
schemas:
-
TypeA: ‘{“type”:“object”,"$schema":“http://json-schema.org/draft-03/schema#",“title”:“TypeA”,“properties”:{“Stage”:{“type”:“string”,“required”:true,“title”:“Stage”},“Week”:{“type”:“string”,“required”:false,“title”:“Week”},“Day”:{“type”:“string”,“required”:false,“title”:“Day”},“Action”:{“type”:“string”,“required”:false,“title”:“Action”},“Product”:{“type”:“string”,“required”:false,“title”:“Product”},“AppRateMetric”:{“type”:“string”,“required”:false,“title”:“AppRateMetric”},“AppRateUS”:{“type”:“string”,“required”:false,“title”:"AppRateUS”}}}’
securitySchemes:
-
HTTP_BASIC:
description: “”
type: Basic Authentication
/typeAs/:
displayName: TypeAList
get:
description: Loads a list of TypeA
queryParameters:
Day:
displayName: Day
description: Allows to filter the collections of result by the value of field Day
type: string
required: false
repeat: false
example: sample Day
Action:
displayName: Action
description: Allows to filter the collections of result by the value of field Action
type: string
required: false
repeat: false
example: sample Action
AppRateUS:
displayName: AppRateUS
description: Allows to filter the collections of result by the value of field AppRateUS
type: string
required: false
repeat: false
example: sample AppRateUS
Product:
displayName: Product
description: Allows to filter the collections of result by the value of field Product
type: string
required: false
repeat: false
example: sample Product
AppRateMetric:
displayName: AppRateMetric
description: Allows to filter the collections of result by the value of field AppRateMetric
type: string
required: false
repeat: false
example: sample AppRateMetric
Stage:
displayName: Stage
description: Allows to filter the collections of result by the value of field Stage
type: string
required: false
repeat: false
example: sample Stage
“$size”:
displayName: “$size”
description: Size of the page to retrieve. Integer value
type: string
required: false
repeat: false
example: sample $size
“$sort”:
displayName: “$sort”
description: “Order in which to retrieve the results. Multiple sort criteria can be passed. Example: sort=age ASC,height DESC”
type: string
required: false
repeat: false
example: sample $sort
“$page”:
displayName: “$page”
description: Number of the page to retrieve. Integer value.
type: string
required: false
repeat: false
example: sample $page
Week:
displayName: Week
description: Allows to filter the collections of result by the value of field Week
type: string
required: false
repeat: false
example: sample Week
responses:
“200”:
body:
application/json:
schema: TypeA
example: ‘[{“Stage”:“sample Stage”,“Week”:“sample Week”,“Day”:“sample Day”,“Action”:“sample Action”,“Product”:“sample Product”,“AppRateMetric”:“sample AppRateMetric”,“AppRateUS”:“sample AppRateUS”}]’
application/x-yaml:
schema: TypeA
example: |
—
- Stage: “sample Stage”
Week: “sample Week”
Day: “sample Day”
Action: “sample Action”
Product: “sample Product”
AppRateMetric: “sample AppRateMetric”
AppRateUS: “sample AppRateUS”
application/xml:
schema: TypeA
example: ‘sample Stagesample Weeksample Daysample Actionsample Productsample AppRateMetricsample AppRateUS’
text/xml:
schema: TypeA
example: ‘sample Stagesample Weeksample Daysample Actionsample Productsample AppRateMetricsample AppRateUS’
“400”:
securedBy:
-
HTTP_BASIC
Found another forum question that is similar so will try to replicate this to see if I can get it working: How to save/display a list of API results?