Model - Update Composite Entity
Az összetett entitás frissítése az alkalmazás egy verziójában.
PUT {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}
URI-paraméterek
| Név | In | Kötelező | Típus | Description |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
Az alkalmazás azonosítója. |
|
c
|
path | True |
string (uuid) |
Az összetett entitás-elszívó azonosítója. |
|
Endpoint
|
path | True |
string |
Támogatott Cognitive Services-végpontok (protokoll és állomásnév, például: https://westus.api.cognitive.microsoft.com). |
|
version
|
path | True |
string |
A verzióazonosító. |
Kérelem fejléce
| Név | Kötelező | Típus | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
Kérelem törzse
| Név | Típus | Description |
|---|---|---|
| children |
string[] |
Gyermek entitások. |
| name |
string |
Entitás neve. |
Válaszok
| Név | Típus | Description |
|---|---|---|
| 200 OK |
Az összetett entitás frissítése sikeresen megtörtént. |
|
| Other Status Codes |
Hibaválasz. |
Biztonság
Ocp-Apim-Subscription-Key
Típus:
apiKey
In:
header
Példák
Successful Update Composite Entity Extractor request
Mintakérelem
PUT {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/{versionId}/compositeentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73
{
"name": "Renamed Entity"
}
Mintaválasz
{
"code": "Success",
"message": "Operation Successful"
}
Definíciók
| Név | Description |
|---|---|
|
Composite |
Összetett entitás-elszívó. |
|
Error |
Hibaválasz egy művelet API-n való meghívásakor. |
|
Operation |
Műveletállapot válasza. |
|
Operation |
Állapotkód. |
CompositeEntityModel
Összetett entitás-elszívó.
| Név | Típus | Description |
|---|---|---|
| children |
string[] |
Gyermek entitások. |
| name |
string |
Entitás neve. |
ErrorResponse
Hibaválasz egy művelet API-n való meghívásakor.
| Név | Típus | Description |
|---|---|---|
| errorType |
string |
OperationStatus
Műveletállapot válasza.
| Név | Típus | Description |
|---|---|---|
| code |
Állapotkód. |
|
| message |
string |
Állapotadatok. |
OperationStatusType
Állapotkód.
| Érték | Description |
|---|---|
| Failed | |
| FAILED | |
| Success |