POST api/AvailableSubProductTrait/BaseGetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AvailableSubProductTrait
NameDescriptionTypeAdditional information
Year

integer

None.

Code

string

None.

ProductLineCode

string

None.

TraitId

integer

None.

TraitValueMemberId

decimal number

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Year": 1,
    "Code": "sample string 2",
    "ProductLineCode": "sample string 3",
    "TraitId": 4,
    "TraitValueMemberId": 1.1,
    "LastMaintenanceName": "sample string 5",
    "LastMaintenanceDate": "2024-12-26T05:26:07.5949057+00:00",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAvailableSubProductTrait xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <AvailableSubProductTrait 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 2</Code>
    <LastMaintenanceDate>2024-12-26T05:26:07.5949057+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 5</LastMaintenanceName>
    <ProductLineCode>sample string 3</ProductLineCode>
    <TraitId>4</TraitId>
    <TraitValueMemberId>1.1</TraitValueMemberId>
    <Year>1</Year>
  </AvailableSubProductTrait>
  <AvailableSubProductTrait z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfAvailableSubProductTrait>