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": "810308f1-331f-4c93-8c54-fa41eab0a8a3", "LocationId": "7ecd0af1-bfe5-48ed-aec9-8260911df686", "TraitId": 3, "Value": 1.1, "UnitOfMeasureId": 1, "AddName": "sample string 4", "AddDate": "2024-12-06T18:54:08.9799771+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-06T18:54:08.9956005+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>2024-12-06T18:54:08.9799771+00:00</AddDate> <AddName>sample string 4</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <LastMaintenanceDate>2024-12-06T18:54:08.9956005+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>7ecd0af1-bfe5-48ed-aec9-8260911df686</LocationId> <LocationTraitId>810308f1-331f-4c93-8c54-fa41eab0a8a3</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.