POST UserTraitUOMSettings/Base/DeleteAll

Request Information

URI Parameters

None.

Body Parameters

Collection of UserTraitUOMSettings
NameDescriptionTypeAdditional information
UserName

string

None.

TraitId

integer

None.

CropId

integer

None.

UnitOfMeasureId

integer

None.

ChangeTracker

ObjectChangeTracker

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "UserName": "sample string 1",
    "TraitId": 2,
    "CropId": 3,
    "UnitOfMeasureId": 4,
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserTraitUOMSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <UserTraitUOMSettings z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <CropId>3</CropId>
    <TraitId>2</TraitId>
    <UnitOfMeasureId>4</UnitOfMeasureId>
    <UserName>sample string 1</UserName>
  </UserTraitUOMSettings>
  <UserTraitUOMSettings z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfUserTraitUOMSettings>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.