|
|
Cette section va vous aider à démarrer. Pour obtenir une documentation complète, accédez à la documentation sur l'API Swagger sur votre Experience Service.
|
|
Méthode
|
Instructions
|
|---|---|
|
Dans Postman
|
Définissez les éléments suivants dans POST /ExperienceService/products/v1/model :
1. En-têtes :
◦ name : nom du modèle avec l'extension (facultatif)
◦ pXvid : UUID de la réponse à la requête "POST Product" à la rubrique Créer un nouveau produit
◦ Content-Type : application/pvz
◦ simplification : faux
◦ cadDataExtension : pvz
◦ Authorization : votre autorisation Experience Service.
2. Corps : joignez le fichier CAO que vous souhaitez charger en tant que "binaire".
|
|
Utilisation d'une commande Curl
|
Votre requête devrait ressembler à ceci :
curl --location 'https://yourESURL/ExperienceService/products/v1/model' \ Experience Service renvoie l'UUID du produit :
{
|
{
"modelId" : <modelId>
}
|
Méthode
|
Instructions
|
|---|---|
|
Dans Postman
|
GET - http://<yourESURL>/ExperienceService/products/v1/model/status/<modelID>
Dans l'en-tête, ajoutez “X-Requested-With” - “any”.
|
|
Utilisation d'une commande Curl
|
curl --location 'http://<yourESURL>/ExperienceService/products/v1/model/status/<modelID>' \ |