It should be possible to set the value of an SREL attribute to NULL using REST web services using X-AttrsToNull.
However, when attempting to do so, the results are:
Error Code 400
Error message "com.ca.sdm.dal.parser.SyntaxException: Expected NULL_INT, NULL_STR, NULL_DATE, NULL_DUR or NULL_UUID, got: NULL"
An example to reproduce the issue follows:
Method: PUT
Endpoint: http://sdmwsserver:8050
Resource: /caisd-rest/cr/400793
Media Type: application/xml
<cr>
</cr>
Header ... Value
X-AccessKey 1434133776
X-AttrsToNull symptom_code
In the above example, 40073 is the ref_num of the ticket and "symptom_code" is an SREL attribute of the cr object.
It may be possible to work-around the issue by including the attribute in the payload XML as shown in the example below. However, this method is not guaranteed to work for all SREL attributes of all objects; as well, the method may not work after the code fix to defect DE53213 has been applied.
Media Type: application/xml
<cr>
<symptom_code></symptom_code>
</cr>
Reported Release : Service Desk Manager 17.0 on Linux
Component : SDM - REST Web Services
Reproduced also in: SDM 17.2.0.6 Windows
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/business-management/ca-service-management/17-1/reference/ca-service-desk-manager-reference-commands/technical-reference/rest-http-methods.html
Sample of a list of fixed issues in a patch: https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/business-management/ca-service-management/17-2/Release-Notes/CA-Service-Management-17_2_0_6-Release-Notes/Fixed-Issues---17_2_0_6.html (Note: DE53213 is not in the list; thus it is not fixed in 17.2 RU6)