Create a knowledge article using a template
Use the msdyn_GetKAObjectFromTemplate action to create a knowledge article from an existing knowledge article template programmatically.
Action parameters
The msdyn_GetKAObjectFromTemplate action requires the following parameters:
Name | Type | Nullable | Description |
---|---|---|---|
TemplateId | Edm.Guid | False | The GUID of the knowledge article template to use. |
Action return type
Type | Description |
---|---|
KnowledgeArticle | The msdyn_GetKAObjectFromTemplate action returns the following value. |
Example
Request
POST [Organization URI]/api/data/v9.0/msdyn_GetKAObjectFromTemplate
Content-Type: application/json;charset=utf-8
OData-MaxVersion: 4.0
OData-Version: 4.0
Accept: application/json
{
"TemplateId":"{A2AC047C-507D-E911-A828-000D3A1C16AF}"
}
Response
HTTP/1.1 200 OK
Content-Type: application/json; odata.metadata=minimal
OData-Version: 4.0
{
"@odata.context":"[Organization URL]/api/data/v9.0/$metadata#knowledgearticles/$entity",
"@odata.type":"#Microsoft.Dynamics.CRM.knowledgearticle",
"isinternal":false,
"isinternal@OData.Community.Display.V1.FormattedValue":"No",
"keywords":"test knowledge article",
"title":"test",
"_languagelocaleid_value":"56940b3e-300f-4070-a559-5a6a4d11a8a3",
"_languagelocaleid_value@Microsoft.Dynamics.CRM.associatednavigationproperty":"languagelocaleid",
"_languagelocaleid_value@Microsoft.Dynamics.CRM.lookuplogicalname":"languagelocale",
"_subjectid_value":"8069216f-297d-e911-a828-000d3a53e137",
"_subjectid_value@Microsoft.Dynamics.CRM.associatednavigationproperty":"subjectid",
"_subjectid_value@Microsoft.Dynamics.CRM.lookuplogicalname":"subject",
"_subjectid_value@OData.Community.Display.V1.FormattedValue":"Query"
}
See also
Search for knowledge articles in the Customer Service Hub
Create and manage knowledge articles
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기