Answered by:
DeleteNegativeKeywordsFromEntities

Question
-
Question about DeleteNegativeKeywordsFromEntities: can I just specify:
<NegativeKeyword>
<MatchType>ValueHere</MatchType>
<Text i:nil="false">ValueHere</Text>
</NegativeKeyword>
…and have it delete based on MatchType and Text? Or do I have to specify an Id?
Answers
-
This is resolved in version 13 i.e., the MatchType is nillable and no longer required. Thanks again for the feedback!
- Marked as answer by Eric Urban [MSFT]Microsoft employee, Moderator Thursday, July 11, 2019 11:42 PM
All replies
-
Yes the Id is required. For any entity that has a system Id, the Id is required for the Delete operation. We will make sure this is clear in the documentation.
Thank you,
Eric
- Proposed as answer by Eric Urban [MSFT]Microsoft employee, Moderator Wednesday, May 2, 2018 1:48 PM
-
-
The MatchType element is not nillable per the syntax, so you'd need to include it. (In a future API version we can consider making it nillable, since it should not be required i.e., technically the Id should provide enough detail.) Text is nillable and not required for the Delete operation.
-
This is resolved in version 13 i.e., the MatchType is nillable and no longer required. Thanks again for the feedback!
- Marked as answer by Eric Urban [MSFT]Microsoft employee, Moderator Thursday, July 11, 2019 11:42 PM