GET Entity Type Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
GET: /qcbin/rest/domains/DOMAIN_NAME/projects/PROJECT_NAME/customization/entities/test
Accept: application/xml
-->
<EntityResourceDescriptor collectionName="tests" baseUrl="http://localhost:8081/qcbin/rest/domains/DOMAIN_NAME/projects/PROJECT_NAME/">
<Table>TEST</Table>
<Name>test</Name>
<Label>Test</Label>
<SupportsHistory url="tests/{entity_id : [0-9]+}/audits">true</SupportsHistory>
<SupportsAttachment url="tests/{parent_entity_id: [0-9]+}/attachments">true</SupportsAttachment>
<SupportsLock url="tests/{parent_entity_id: [0-9]+}/lock">true</SupportsLock>
<SupportsGrouping url="tests/groups/{groupsFields}">true</SupportsGrouping>
<SupportsMailing url="tests/{parent_entity_id: [0-9]+}/mail">true</SupportsMailing>
<SupportsMultiValue>true</SupportsMultiValue>
<SupportsWorkflow>true</SupportsWorkflow>
<SupportsDataHidingFilter>true</SupportsDataHidingFilter>
<SupportsTree>false</SupportsTree>
<SupportsVC url="tests/{entity_id : [0-9]+}/versions">false</SupportsVC>
<SupportsSubtypes subTypeFieldName="subtype-id" url="customization/entities/test/types">true</SupportsSubtypes>
<SupportsCopying url="tests/copy">true</SupportsCopying>
<SupportsStorage url="tests/{parent_entity_id: [0-9]+}/storage">true</SupportsStorage>
<ExtensionName>quality_center</ExtensionName>
<IsSiteEntity>false</IsSiteEntity>
<Attributes>
<Attribute name="requireUniqueNameUnderFather">true</Attribute>
<Attribute name="reportableRoot">true</Attribute>
<Attribute name="supportBaseline">true</Attribute>
<Attribute name="closureUseLinkedEntitiesMode">true</Attribute>
<Attribute name="reportable">true</Attribute>
</Attributes>
<IsFirstLevelResource supportsDELETE="true" supportsPUT="true" supportsGET="true" supportsPOST="true" url="tests">true</IsFirstLevelResource>
<SecondLevelResources/>
<SupportsBusinessRules>true</SupportsBusinessRules>
<SupportsOrdering>true</SupportsOrdering>
</EntityResourceDescriptor>GET /qcbin/rest/domains/default/projects/empty1/customization/entities/test
Accept: application/json
{
"EntityResourceDescriptor": {
"ExtensionName": "quality_center",
"SupportsWorkflow": true,
"IsFirstLevelResource": {
"supportsDELETE": true,
"supportsGET": true,
"supportsPUT": true,
"supportsPOST": true,
"url": "tests",
"content": true
},
"Label": "Test",
"Attributes": {
"Attribute": [
{
"name": "requireUniqueNameUnderFather",
"content": true
},
{
"name": "reportableRoot",
"content": true
},
{
"name": "supportBaseline",
"content": true
},
{
"name": "closureUseLinkedEntitiesMode",
"content": true
},
{
"name": "reportable",
"content": true
}
]
},
"SupportsStorage": {
"url": "tests/{parent_entity_id: [0-9]+}/storage",
"content": true
},
"SupportsDataHidingFilter": true,
"collectionName": "tests",
"Name": "test",
"IsSiteEntity": false,
"SupportsMailing": {
"url": "tests/{parent_entity_id: [0-9]+}/mail",
"content": true
},
"SupportsHistory": {
"url": "tests/{entity_id : [0-9]+}/audits",
"content": true
},
"SupportsSubtypes": {
"subTypeFieldName": "subtype-id",
"url": "customization/entities/test/types",
"content": true
},
"SupportsGrouping": {
"url": "tests/groups/{groupsFields}",
"content": true
},
"SupportsBusinessRules": true,
"SupportsAttachment": {
"url": "tests/{parent_entity_id: [0-9]+}/attachments",
"content": true
},
"Table": "TEST",
"SupportsTree": false,
"SupportsOrdering": true,
"SupportsCopying": {
"url": "tests/copy",
"content": true
},
"SupportsLock": {
"url": "tests/{parent_entity_id: [0-9]+}/lock",
"content": true
},
"SupportsVC": {
"url": "tests/{entity_id : [0-9]+}/versions",
"content": false
},
"baseUrl": "http://localhost:8081/qcbin/rest/domains/DOMAIN_NAME/projects/PROJECT_NAME/",
"SecondLevelResources": "",
"SupportsMultiValue": true
}
}

