POST api/TraitCategory/BaseGetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TraitCategory
NameDescriptionTypeAdditional 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-11T07:18:06.318675+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-11T07:18:06.318675+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>