Products (p:products)¶
http://profiles.goabout.com/products
The Products (p:products) profile represents a collection of Product (p:product) resources.
Example¶
{
"_embedded" : {
"item" : [ {
"name" : "Dalurenkaart",
"logoHref" : "https://goabout.com/pages/product/dalurenkaart.png",
"moreInfoHref" : "https://goabout.com/pages/product/dalurenkaart",
"description" : "Abonnement waarbij korting wordt gegeven op de rit die tijdens daluren wordt uitgevoerd.",
"_links" : {
"self" : {
"href" : "https://api.goabout.com/product/9"
}
},
"_embedded" : {
"http://rels.goabout.com/service-provider" : {
"name" : "Arriva",
"href" : "https://goabout.com/pages/agencies/arriva",
"logoHref" : "https://goabout.com/pages/agencies/arriva.png",
"_links" : {
"http://rels.goabout.com/agency-branches" : {
"href" : "https://api.goabout.com/agency/1/branches"
},
"self" : {
"href" : "https://api.goabout.com/agency/1"
}
}
}
}
}, {
"name" : "OV-Fiets",
"logoHref" : "https://goabout.com/pages/product/ov-fiets.png",
"moreInfoHref" : "https://goabout.com/pages/product/ov-fiets",
"description" : "Abonnement op de OV-Fietsen die beschikbaar zijn op een groot aantal stations",
"_links" : {
"http://rels.goabout.com/product-branches" : {
"href" : "https://api.goabout.com/product/33/branches"
},
"http://rels.goabout.com/service-provider" : {
"href" : "http://localhost:9998/api/agency/12"
},
"self" : {
"href" : "https://api.goabout.com/product/33"
}
},
"_embedded" : {
"http://rels.goabout.com/service-provider" : {
"name" : "NS",
"href" : "https://goabout.com/pages/agencies/ns",
"logoHref" : "https://goabout.com/pages/agencies/ns.png",
"_links" : {
"self" : {
"href" : "https://api.goabout.com/agency/12"
}
}
}
}
} ]
},
"_links": {
"self": {
"href": "https://api.goabout.com/products"
}
}
}
Reference¶
GET¶
Embedded¶
item: | A list of Product (p:product). |
---|