POST api/article/SaveArticle
Request Information
URI Parameters
None.
Body Parameters
Article| Name | Description | Type | Additional information |
|---|---|---|---|
| ComponentId | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| ParentId | globally unique identifier |
None. |
|
| Header | string |
None. |
|
| Body | string |
None. |
|
| Detail | string |
None. |
|
| InternalNotes | string |
None. |
|
| ComponentTypeId | ComponentType |
None. |
Request Formats
application/json, text/json
Sample:
{
"ComponentId": "34fb681d-bdfa-4da4-bcef-cde5d41ded2c",
"ClientId": "c5943aaf-3b73-43b7-afe3-275e3baa0b2f",
"ParentId": "8c01a683-3141-49b8-8a68-790ed84e11fe",
"Header": "sample string 2",
"Body": "sample string 3",
"Detail": "sample string 4",
"InternalNotes": "sample string 5",
"ComponentTypeId": 0
}
text/html
Sample:
{"ComponentId":"34fb681d-bdfa-4da4-bcef-cde5d41ded2c","ClientId":"c5943aaf-3b73-43b7-afe3-275e3baa0b2f","ParentId":"8c01a683-3141-49b8-8a68-790ed84e11fe","Header":"sample string 2","Body":"sample string 3","Detail":"sample string 4","InternalNotes":"sample string 5","ComponentTypeId":0}
application/xml, text/xml
Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnowledgeBase"> <Body>sample string 3</Body> <ClientId>c5943aaf-3b73-43b7-afe3-275e3baa0b2f</ClientId> <ComponentId>34fb681d-bdfa-4da4-bcef-cde5d41ded2c</ComponentId> <ComponentTypeId>Not_Set</ComponentTypeId> <Detail>sample string 4</Detail> <Header>sample string 2</Header> <InternalNotes>sample string 5</InternalNotes> <ParentId>8c01a683-3141-49b8-8a68-790ed84e11fe</ParentId> </Article>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Article| Name | Description | Type | Additional information |
|---|---|---|---|
| ComponentId | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| ParentId | globally unique identifier |
None. |
|
| Header | string |
None. |
|
| Body | string |
None. |
|
| Detail | string |
None. |
|
| InternalNotes | string |
None. |
|
| ComponentTypeId | ComponentType |
None. |
Response Formats
application/json, text/json
Sample:
{
"ComponentId": "2d69633b-1b67-49dd-8e54-315d72ea6ab2",
"ClientId": "fee67184-e877-4b2c-85f3-b3c36be662fd",
"ParentId": "3da549dc-b89f-4403-ac4f-efedb619ba4e",
"Header": "sample string 2",
"Body": "sample string 3",
"Detail": "sample string 4",
"InternalNotes": "sample string 5",
"ComponentTypeId": 0
}
text/html
Sample:
{"ComponentId":"2d69633b-1b67-49dd-8e54-315d72ea6ab2","ClientId":"fee67184-e877-4b2c-85f3-b3c36be662fd","ParentId":"3da549dc-b89f-4403-ac4f-efedb619ba4e","Header":"sample string 2","Body":"sample string 3","Detail":"sample string 4","InternalNotes":"sample string 5","ComponentTypeId":0}
application/xml, text/xml
Sample:
<Article xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnowledgeBase"> <Body>sample string 3</Body> <ClientId>fee67184-e877-4b2c-85f3-b3c36be662fd</ClientId> <ComponentId>2d69633b-1b67-49dd-8e54-315d72ea6ab2</ComponentId> <ComponentTypeId>Not_Set</ComponentTypeId> <Detail>sample string 4</Detail> <Header>sample string 2</Header> <InternalNotes>sample string 5</InternalNotes> <ParentId>3da549dc-b89f-4403-ac4f-efedb619ba4e</ParentId> </Article>