POST LocationTrait/GetLocationTraitByTraitId/{traitId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
traitId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LocationTraitName | Description | Type | Additional information |
---|---|---|---|
LocationTraitId | globally unique identifier |
None. |
|
LocationId | globally unique identifier |
None. |
|
TraitId | integer |
None. |
|
Value | decimal number |
None. |
|
UnitOfMeasureId | integer |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
Location | Location |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "LocationTraitId": "d694cd47-c853-4633-bd1f-f401362e60e0", "LocationId": "b81ef97b-18b3-4f15-8617-d14f711c3ed8", "TraitId": 3, "Value": 1.1, "UnitOfMeasureId": 1, "AddName": "sample string 4", "AddDate": "2024-12-08T16:24:49.1254149+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-08T16:24:49.1254149+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfLocationTrait xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <LocationTrait z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <AddDate>2024-12-08T16:24:49.1254149+00:00</AddDate> <AddName>sample string 4</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <LastMaintenanceDate>2024-12-08T16:24:49.1254149+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>b81ef97b-18b3-4f15-8617-d14f711c3ed8</LocationId> <LocationTraitId>d694cd47-c853-4633-bd1f-f401362e60e0</LocationTraitId> <TraitId>3</TraitId> <UnitOfMeasureId>1</UnitOfMeasureId> <Value>1.1</Value> </LocationTrait> <LocationTrait z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </ArrayOfLocationTrait>