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": "3e8ccc37-b102-4006-b973-e96c90b25cf8", "LocationId": "b6a31577-4f3c-4c86-9689-41bf8c38d3f6", "TraitId": 3, "Value": 1.1, "UnitOfMeasureId": 1, "AddName": "sample string 4", "AddDate": "2024-12-10T17:01:22.2507344+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-10T17:01:22.2507344+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-10T17:01:22.2507344+00:00</AddDate> <AddName>sample string 4</AddName> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <LastMaintenanceDate>2024-12-10T17:01:22.2507344+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>b6a31577-4f3c-4c86-9689-41bf8c38d3f6</LocationId> <LocationTraitId>3e8ccc37-b102-4006-b973-e96c90b25cf8</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.