POST api/v2.0/Answer/Edit
Edit an existing answer
Request Information
URI Parameters
None.
Body Parameters
The answer to edit
EditAnswerRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ContributedContentKey |
The unique identifier of the existing answer |
globally unique identifier |
Required |
| Content |
The new body/description of the answer |
string |
Required |
Request Formats
application/json, text/json
{
"ContributedContentKey": "71bf70d6-2628-4ca7-91bc-ce4ab088b586",
"Content": "sample string 2"
}
application/xml, text/xml
<EditAnswerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request"> <_x003C_Content_x003E_k__BackingField>sample string 2</_x003C_Content_x003E_k__BackingField> <_x003C_ContributedContentKey_x003E_k__BackingField>71bf70d6-2628-4ca7-91bc-ce4ab088b586</_x003C_ContributedContentKey_x003E_k__BackingField> </EditAnswerRequest>
Response Information
Resource Description
The edited answer
Answer| Name | Description | Type | Additional information |
|---|---|---|---|
| AnswerKey |
Unique identifier of the answer. |
globally unique identifier |
None. |
| ParentKey |
Unique identifier of the answer's parent question. |
globally unique identifier |
None. |
| IsBestAnswer |
True if this answer has been designated as best answer for the root question. False if this answer has not been designated as best answer for the root question. |
boolean |
None. |
| BestAnswerOn |
DateTime in UTC when this answer had been designated as best answer for the root question. Omitted when this answer has not been designated as best answer. |
date |
None. |
| Content |
HTML Body of the item |
string |
None. |
| PublishedOn |
DateTime in UTC when the item was published |
date |
None. |
| Community |
Community to which the item was published |
Community |
None. |
| Author |
Author to which the item should be attributed |
ContactConcise |
None. |
| Attachments |
Attachments included with this item. |
Collection of DocumentAttachment |
None. |
| IsAnonymous |
True if author attribution is to indicate item was submitted anonymously, False if the author attribution indicates who authored the item. Omitted when item is attributed to its author. |
boolean |
None. |
| Creator |
When item is posted anonymously, indicates the actual author of the item. Omitted when item is attributed to its author. |
ContactConcise |
None. |
| EditedOn |
DateTime in UTC when the item was last edited. Omitted if item has not been edited. |
date |
None. |
| EditedBy |
Indicates contact that last edited this item. Omitted if item has not been edited. |
ContactConcise |
None. |
| IsModerated |
Indicates whether the item is currently moderated. Omitted when the item is not in moderation. |
boolean |
None. |
| RecommendationCount |
Number of contacts who have recommended this item. |
integer |
None. |
| HasRecommended |
If the current contact has recommended this item |
boolean |
None. |
| Tags |
All of the tags indexed for the item. This includes user tags and admin based tags. |
Collection of ItemTagResponse |
None. |
| UserPermissions |
Permissions for actions the current user can take on the item. |
Collection of string |
None. |
Response Formats
application/json, text/json
{
"AnswerKey": "e0fbfb13-1494-4b14-b437-fd0d512dbe63",
"ParentKey": "c13b5054-ce3d-44b3-a076-50bb72771ef6",
"IsBestAnswer": true,
"BestAnswerOn": "2026-01-24T18:40:05.7618619Z",
"Content": "sample string 5",
"PublishedOn": "2026-01-24T18:40:05.7618619Z",
"Community": null,
"Author": {
"LinkToProfile": "sample string 1",
"PictureUrl": "sample string 2",
"ContactKey": "9b45bad2-e3ee-4913-a9b8-6968977ad511",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"DisplayName": "sample string 6",
"EmailAddress": "sample string 7",
"ContactStatusCode": "sample string 8",
"PrefixCode": "sample string 9",
"UpdatedOn": "2026-01-24T18:40:05.7618619Z",
"UpdatedByContactKey": "89f3bbb0-7fd7-494e-a514-4e7edcd21c29",
"CompanyName": "sample string 12",
"CompanyTitle": "sample string 13",
"SuffixCode": "sample string 14",
"Designation": "sample string 15",
"LegacyContactKey": "sample string 16",
"InformalName": "sample string 17",
"MiddleName": "sample string 18",
"IsCompany": true,
"CompanyLegacyContactKey": "sample string 20",
"AMSDirectoryOptOut": true,
"HLDirectoryOptOut": true,
"HLContactMeOptOut": true,
"LargePictureUrl": "sample string 24",
"AgreedToTermsDateTime": "2026-01-24T18:40:05.7618619Z"
},
"Attachments": [
{
"DocumentAttachmentKey": "026fa5ba-4b3e-4bb6-9e3c-4781a7f2a893",
"DocumentKey": "5443c32a-0d8d-4a8d-b956-8ebb9f9977cf",
"FileName": "sample string 3",
"UploadedByContact": {
"LinkToProfile": "sample string 1",
"PictureUrl": "sample string 2",
"ContactKey": "9b45bad2-e3ee-4913-a9b8-6968977ad511",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"DisplayName": "sample string 6",
"EmailAddress": "sample string 7",
"ContactStatusCode": "sample string 8",
"PrefixCode": "sample string 9",
"UpdatedOn": "2026-01-24T18:40:05.7618619Z",
"UpdatedByContactKey": "89f3bbb0-7fd7-494e-a514-4e7edcd21c29",
"CompanyName": "sample string 12",
"CompanyTitle": "sample string 13",
"SuffixCode": "sample string 14",
"Designation": "sample string 15",
"LegacyContactKey": "sample string 16",
"InformalName": "sample string 17",
"MiddleName": "sample string 18",
"IsCompany": true,
"CompanyLegacyContactKey": "sample string 20",
"AMSDirectoryOptOut": true,
"HLDirectoryOptOut": true,
"HLContactMeOptOut": true,
"LargePictureUrl": "sample string 24",
"AgreedToTermsDateTime": "2026-01-24T18:40:05.7618619Z"
},
"CreatedOn": "2026-01-24T18:40:05.7618619Z",
"FileExtension": "sample string 5",
"FileSizeInBytes": 1,
"Width": 1,
"Height": 1,
"DurationSeconds": 1,
"DownloadUrl": "sample string 6",
"IconUrl": "sample string 7",
"Status": "sample string 8"
},
{
"DocumentAttachmentKey": "026fa5ba-4b3e-4bb6-9e3c-4781a7f2a893",
"DocumentKey": "5443c32a-0d8d-4a8d-b956-8ebb9f9977cf",
"FileName": "sample string 3",
"UploadedByContact": {
"LinkToProfile": "sample string 1",
"PictureUrl": "sample string 2",
"ContactKey": "9b45bad2-e3ee-4913-a9b8-6968977ad511",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"DisplayName": "sample string 6",
"EmailAddress": "sample string 7",
"ContactStatusCode": "sample string 8",
"PrefixCode": "sample string 9",
"UpdatedOn": "2026-01-24T18:40:05.7618619Z",
"UpdatedByContactKey": "89f3bbb0-7fd7-494e-a514-4e7edcd21c29",
"CompanyName": "sample string 12",
"CompanyTitle": "sample string 13",
"SuffixCode": "sample string 14",
"Designation": "sample string 15",
"LegacyContactKey": "sample string 16",
"InformalName": "sample string 17",
"MiddleName": "sample string 18",
"IsCompany": true,
"CompanyLegacyContactKey": "sample string 20",
"AMSDirectoryOptOut": true,
"HLDirectoryOptOut": true,
"HLContactMeOptOut": true,
"LargePictureUrl": "sample string 24",
"AgreedToTermsDateTime": "2026-01-24T18:40:05.7618619Z"
},
"CreatedOn": "2026-01-24T18:40:05.7618619Z",
"FileExtension": "sample string 5",
"FileSizeInBytes": 1,
"Width": 1,
"Height": 1,
"DurationSeconds": 1,
"DownloadUrl": "sample string 6",
"IconUrl": "sample string 7",
"Status": "sample string 8"
}
],
"IsAnonymous": true,
"Creator": {
"LinkToProfile": "sample string 1",
"PictureUrl": "sample string 2",
"ContactKey": "9b45bad2-e3ee-4913-a9b8-6968977ad511",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"DisplayName": "sample string 6",
"EmailAddress": "sample string 7",
"ContactStatusCode": "sample string 8",
"PrefixCode": "sample string 9",
"UpdatedOn": "2026-01-24T18:40:05.7618619Z",
"UpdatedByContactKey": "89f3bbb0-7fd7-494e-a514-4e7edcd21c29",
"CompanyName": "sample string 12",
"CompanyTitle": "sample string 13",
"SuffixCode": "sample string 14",
"Designation": "sample string 15",
"LegacyContactKey": "sample string 16",
"InformalName": "sample string 17",
"MiddleName": "sample string 18",
"IsCompany": true,
"CompanyLegacyContactKey": "sample string 20",
"AMSDirectoryOptOut": true,
"HLDirectoryOptOut": true,
"HLContactMeOptOut": true,
"LargePictureUrl": "sample string 24",
"AgreedToTermsDateTime": "2026-01-24T18:40:05.7618619Z"
},
"EditedOn": "2026-01-24T18:40:05.7618619Z",
"EditedBy": {
"LinkToProfile": "sample string 1",
"PictureUrl": "sample string 2",
"ContactKey": "9b45bad2-e3ee-4913-a9b8-6968977ad511",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"DisplayName": "sample string 6",
"EmailAddress": "sample string 7",
"ContactStatusCode": "sample string 8",
"PrefixCode": "sample string 9",
"UpdatedOn": "2026-01-24T18:40:05.7618619Z",
"UpdatedByContactKey": "89f3bbb0-7fd7-494e-a514-4e7edcd21c29",
"CompanyName": "sample string 12",
"CompanyTitle": "sample string 13",
"SuffixCode": "sample string 14",
"Designation": "sample string 15",
"LegacyContactKey": "sample string 16",
"InformalName": "sample string 17",
"MiddleName": "sample string 18",
"IsCompany": true,
"CompanyLegacyContactKey": "sample string 20",
"AMSDirectoryOptOut": true,
"HLDirectoryOptOut": true,
"HLContactMeOptOut": true,
"LargePictureUrl": "sample string 24",
"AgreedToTermsDateTime": "2026-01-24T18:40:05.7618619Z"
},
"IsModerated": true,
"RecommendationCount": 10,
"HasRecommended": true,
"Tags": [
{
"Tag": "sample string 1",
"TagType": "sample string 2"
},
{
"Tag": "sample string 1",
"TagType": "sample string 2"
}
],
"UserPermissions": [
"sample string 1",
"sample string 2"
]
}
application/xml
Sample not available.
text/xml
Sample not available.