Model - Update Composite Entity Role
Egy adott összetett entitás szerepkörének frissítése az alkalmazás egy verziójában
PUT {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/compositeentities/{cEntityId}/roles/{roleId}
URI-paraméterek
Name | 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áselszí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). |
role
|
path | True |
string uuid |
Az entitás szerepkör-azonosítója. |
version
|
path | True |
string |
A verzióazonosító. |
Kérelem fejléce
Name | Kötelező | Típus | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Kérelem törzse
Name | Típus | Description |
---|---|---|
name |
string |
Az entitásszerepkulátor neve. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
Az entitásszerepkulátor frissítése sikerült. |
|
Other Status Codes |
Hibaválasz. |
Biztonság
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Példák
Successful Update Composite Entity Extractor Role request
Sample Request
PUT {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/compositeentities/3d73462d-98f0-4dcd-8d30-fab9e65f2e73/roles/6dbed7e2-7df6-4cd6-a225-97e6fbe4493d
{
"name": "New Name"
}
Sample Response
{
"code": "Success",
"message": "Operation Successful"
}
Definíciók
Name | Description |
---|---|
Entity |
Objektummodell entitási szerepkör frissítéséhez. |
Error |
Hibaválasz egy művelet API-n való meghívásakor. |
Operation |
Műveletállapot válasza. |
Operation |
Állapotkód. |
EntityRoleUpdateObject
Objektummodell entitási szerepkör frissítéséhez.
Name | Típus | Description |
---|---|---|
name |
string |
Az entitásszerepkulátor neve. |
ErrorResponse
Hibaválasz egy művelet API-n való meghívásakor.
Name | Típus | Description |
---|---|---|
errorType |
string |
OperationStatus
Műveletállapot válasza.
Name | Típus | Description |
---|---|---|
code |
Állapotkód. |
|
message |
string |
Állapotadatok. |
OperationStatusType
Állapotkód.
Name | Típus | Description |
---|---|---|
FAILED |
string |
|
Failed |
string |
|
Success |
string |