GET Defect Link Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- GET: /qcbin/rest/domains/DOMAIN_NAME/projects/PROJECT_NAME/defect-links/1 Accept: application/xml --> <Entity Type="defect-link"> <ChildrenCount> <Value>0</Value> </ChildrenCount> <Fields> <Field Name="owner"> <Value>sa</Value> </Field> <Field Name="second-endpoint-id"> <Value>2</Value> </Field> <Field Name="last-modified"> <Value>2020-02-17 16:22:42</Value> </Field> <Field Name="second-endpoint-status"> <Value>Not Covered</Value> </Field> <Field Name="link-type"> <Value></Value> </Field> <Field Name="second-endpoint-name"> <Value>r1</Value> </Field> <Field Name="creation-time"> <Value>2020-02-17</Value> </Field> <Field Name="first-endpoint-id"> <Value>3</Value> </Field> <Field Name="comment"> <Value></Value> </Field> <Field Name="id"> <Value>1</Value> </Field> <Field Name="second-endpoint-type"> <Value>requirement</Value> </Field> </Fields> <RelatedEntities/> </Entity>
GET /qcbin/rest/domains/DOMAIN_NAME/projects/PROJECT_NAME/defect-links/1 Accept: application/json { "Fields": [ { "Name": "owner", "values": [ { "value": "sa" } ] }, { "Name": "second-endpoint-id", "values": [ { "value": "2" } ] }, { "Name": "last-modified", "values": [ { "value": "2020-02-17 16:22:42" } ] }, { "Name": "second-endpoint-status", "values": [ { "value": "Not Covered" } ] }, { "Name": "link-type", "values": [ {} ] }, { "Name": "second-endpoint-name", "values": [ { "value": "r1" } ] }, { "Name": "creation-time", "values": [ { "value": "2020-02-17" } ] }, { "Name": "first-endpoint-id", "values": [ { "value": "3" } ] }, { "Name": "comment", "values": [ {} ] }, { "Name": "id", "values": [ { "value": "1" } ] }, { "Name": "second-endpoint-type", "values": [ { "value": "requirement" } ] } ], "Type": "defect-link", "children-count": 0 }