|
|
This section will help you get started, but for complete documentation, access the Swagger API documentation on your Experience Service.
|
|
Method
|
Instructions
|
|---|---|
|
In Postman
|
Define the following in POST /ExperienceService/products/v1/model
1. Headers:
◦ name—model name with extension (optional)
◦ pXvid—the UUID from the response of the “POST Product” request in Create a New Product
◦ Content type — application/pvz
◦ simplification — false
◦ cadDataExtension — pvz
◦ Authorization — your Experience Service authorization
2. Body: Attach the CAD file you want to upload as a “binary”
|
|
Using a Curl command
|
Your request should look similar to the following:
curl --location 'https://yourESURL/ExperienceService/products/v1/model' \ The Experience Service returns the UUID of the product:
{
|
{
"modelId" : <modelId>
}
|
Method
|
Instructions
|
|---|---|
|
In Postman
|
GET - http://<yourESURL>/ExperienceService/products/v1/model/status/<modelID>
In the header, add “X-Requested-With” - “any”
|
|
Using a Curl command
|
curl --location 'http://<yourESURL>/ExperienceService/products/v1/model/status/<modelID>' \ |