Get care instructions for a style
curl --request GET \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructionsimport requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "<unknown>",
"code": "<string>",
"data": {
"properties": [
"<string>"
],
"subtabs": [
{
"id": 123,
"name": "<string>",
"state": "<string>",
"properties": [
"<string>"
],
"adminSubtab": {
"id": 123,
"name": "<string>",
"customId": "<string>",
"state": "<string>"
},
"exception": {
"id": 123,
"name": "<string>",
"customId": "<string>",
"state": "<string>"
},
"colorAssociations": [
{
"id": 123,
"styleColor": {
"id": 123,
"customId1": "<string>",
"customId2": "<string>",
"name": "<string>",
"status": "<string>",
"adminColorId": 123
}
}
],
"icons": [
{
"id": 123,
"customId": "<string>",
"text": "<string>",
"region": "<string>",
"iconType": "<string>",
"state": "<string>",
"iconResourceUrl": "<string>"
}
],
"layers": [
{
"associationId": 123,
"layer": {
"id": 123,
"customId": "<string>",
"text": "<string>",
"state": "<string>"
},
"unit": {
"id": 123,
"customId": "<string>",
"name": "<string>"
},
"unitValue": 123,
"properties": [
"<string>"
],
"materials": [
{
"material": {
"id": 123,
"customId": "<string>",
"text": "<string>",
"state": "<string>"
},
"percentage": 123
}
]
}
],
"instructions": [
{
"id": 123,
"customId": "<string>",
"text": "<string>",
"state": "<string>"
}
]
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}StyleCareInstructions
Get care instructions for a style
Returns all care instruction subtabs for a style, where each subtab contains its icons, layers (with materials), instructions, and associated style colors.
GET
/
api
/
styles
/
{styleId}
/
care-instructions
Get care instructions for a style
curl --request GET \
--url http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructionsimport requests
url = "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions")
.asString();require 'uri'
require 'net/http'
url = URI("http://ca-delogue-service-prod.bravepebble-62e34dbe.westeurope.azurecontainerapps.io/api/styles/{styleId}/care-instructions")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"status": "<unknown>",
"code": "<string>",
"data": {
"properties": [
"<string>"
],
"subtabs": [
{
"id": 123,
"name": "<string>",
"state": "<string>",
"properties": [
"<string>"
],
"adminSubtab": {
"id": 123,
"name": "<string>",
"customId": "<string>",
"state": "<string>"
},
"exception": {
"id": 123,
"name": "<string>",
"customId": "<string>",
"state": "<string>"
},
"colorAssociations": [
{
"id": 123,
"styleColor": {
"id": 123,
"customId1": "<string>",
"customId2": "<string>",
"name": "<string>",
"status": "<string>",
"adminColorId": 123
}
}
],
"icons": [
{
"id": 123,
"customId": "<string>",
"text": "<string>",
"region": "<string>",
"iconType": "<string>",
"state": "<string>",
"iconResourceUrl": "<string>"
}
],
"layers": [
{
"associationId": 123,
"layer": {
"id": 123,
"customId": "<string>",
"text": "<string>",
"state": "<string>"
},
"unit": {
"id": 123,
"customId": "<string>",
"name": "<string>"
},
"unitValue": 123,
"properties": [
"<string>"
],
"materials": [
{
"material": {
"id": 123,
"customId": "<string>",
"text": "<string>",
"state": "<string>"
},
"percentage": 123
}
]
}
],
"instructions": [
{
"id": 123,
"customId": "<string>",
"text": "<string>",
"state": "<string>"
}
]
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}{
"status": "<unknown>",
"code": "<string>",
"error": {
"details": [
{
"type": "<string>",
"field": "<string>",
"value": "<string>"
}
]
}
}⌘I