POST UserMarketPriceSettings/Base/DeleteAll

Request Information

URI Parameters

None.

Body Parameters

Collection of UserMarketPriceSettings
NameDescriptionTypeAdditional information
UserName

string

None.

CropId

integer

None.

MarketPrice

decimal number

None.

AdjustmentStandard

decimal number

None.

AdjustmentTitle

string

None.

UnitOfMeasureId

integer

None.

ChangeTracker

ObjectChangeTracker

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "UserName": "sample string 1",
    "CropId": 2,
    "MarketPrice": 3.0,
    "AdjustmentStandard": 1.0,
    "AdjustmentTitle": "sample string 4",
    "UnitOfMeasureId": 1,
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.