|
|
本部分将帮助您入门,但要了解完整文档,请访问 Experience Service 上的 Swagger API 文档。
|
|
方法
|
操作说明
|
|---|---|
|
在 Postman 中
|
在 POST /ExperienceService/products/v1/model 中定义以下内容
1. Headers:
◦ name - 带扩展名的模型名称 (可选)
◦ pXvid - 创建新产品中 “POST Product” 请求响应的 UUID
◦ Content type - application/pvz
◦ simplification - false
◦ cadDataExtension - pvz
◦ Authorization - 您的 Experience Service 授权
2. Body: 附加要作为 “binary” 上传的 CAD 文件
|
|
使用 Curl 命令
|
您的请求应类似于以下内容:
curl --location 'https://yourESURL/ExperienceService/products/v1/model' \ Experience Service 返回产品的 UUID:
{
|
{
"modelId" : <modelId>
}
|
方法
|
操作说明
|
|---|---|
|
在 Postman 中
|
GET - http://<yourESURL>/ExperienceService/products/v1/model/status/<modelID>
在 header 中,添加 “X-Requested-With” - “any”
|
|
使用 Curl 命令
|
curl --location 'http://<yourESURL>/ExperienceService/products/v1/model/status/<modelID>' \ |