POST LocationTrait/Base/Delete
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{ "LocationTraitId": "e0351032-414a-4f4b-a1ab-00825cc56028", "LocationId": "c2be12d8-9182-4ac8-a01b-77afe00c52ef", "TraitId": 3, "Value": 1.1, "UnitOfMeasureId": 1, "AddName": "sample string 4", "AddDate": "2025-04-04T14:42:11.5702184+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2025-04-04T14:42:11.5702184+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }
application/xml, text/xml
Sample:
<LocationTrait xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <AddDate>2025-04-04T14:42:11.5702184+00:00</AddDate> <AddName>sample string 4</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <LastMaintenanceDate>2025-04-04T14:42:11.5702184+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>c2be12d8-9182-4ac8-a01b-77afe00c52ef</LocationId> <LocationTraitId>e0351032-414a-4f4b-a1ab-00825cc56028</LocationTraitId> <TraitId>3</TraitId> <UnitOfMeasureId>1</UnitOfMeasureId> <Value>1.1</Value> </LocationTrait>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.