Megosztás a következőn keresztül:


Model - Delete Hierarchical Entity Child

Az alkalmazás egy verziójában törli a hierarchikus entitáselszívó gyermekét.

DELETE {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}/children/{hChildId}

URI-paraméterek

Name In Kötelező Típus Description
appId
path True

string (uuid)

Az alkalmazás 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).

hChildId
path True

string (uuid)

A hierarchikus entitáselszívó gyermekazonosítója.

hEntityId
path True

string (uuid)

A hierarchikus entitáselszívó azonosítója.

versionId
path True

string

A verzióazonosító.

Kérelem fejléce

Name Kötelező Típus Description
Ocp-Apim-Subscription-Key True

string

Válaszok

Name Típus Description
200 OK

OperationStatus

Az entitás törlése sikeresen megtörtént.

Other Status Codes

ErrorResponse

Hibaválasz.

Biztonság

Ocp-Apim-Subscription-Key

Típus: apiKey
In: header

Példák

Successful Delete Hierarchical Entity Child Model request

Mintakérelem

DELETE {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/hierarchicalentities/fe559c31-9778-42ea-ba45-94e0bd7cf767/children/fe559c31-9778-42ea-ed45-94e0bd7cf767

Mintaválasz

{
  "code": "Success",
  "message": "Operation Successful"
}

Definíciók

Name Description
ErrorResponse

Hibaválasz egy művelet API-n való meghívásakor.

OperationStatus

Műveletállapot válasza.

OperationStatusType

Állapotkód.

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

OperationStatusType

Állapotkód.

message

string

Állapotadatok.

OperationStatusType

Állapotkód.

Érték Description
FAILED
Failed
Success