POST TraitCategory/GetCustomTraitCategories
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of TraitCategoryName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "Code": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "LastMaintenanceName": "sample string 4", "LastMaintenanceDate": "2024-12-10T18:07:58.1526601+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfTraitCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <TraitCategory z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Code>sample string 1</Code> <Description>sample string 3</Description> <LastMaintenanceDate>2024-12-10T18:07:58.1526601+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 4</LastMaintenanceName> <Name>sample string 2</Name> </TraitCategory> <TraitCategory z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </ArrayOfTraitCategory>