POST LocationTrait/Base/DeleteAll
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
[ { "$id": "1", "LocationTraitId": "b2fb2c8a-2ac6-4125-ae0f-da3ab8e91f62", "LocationId": "ba14e224-ea63-4cfe-a2ff-5fb9df839b7c", "TraitId": 3, "Value": 1.1, "UnitOfMeasureId": 1, "AddName": "sample string 4", "AddDate": "2025-04-04T14:46:18.9472555+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2025-04-04T14:46:18.9472555+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>2025-04-04T14:46:18.9472555+00:00</AddDate> <AddName>sample string 4</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <LastMaintenanceDate>2025-04-04T14:46:18.9472555+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>ba14e224-ea63-4cfe-a2ff-5fb9df839b7c</LocationId> <LocationTraitId>b2fb2c8a-2ac6-4125-ae0f-da3ab8e91f62</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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.