POST UserTraitUOMSettings/Base/Delete

Request Information

URI Parameters

None.

Body Parameters

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:
{
  "UserName": "sample string 1",
  "TraitId": 2,
  "CropId": 3,
  "UnitOfMeasureId": 4,
  "ChangeTracker": {
    "$id": "2",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

application/xml, text/xml

Sample:
<UserTraitUOMSettings 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">
  <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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.