POST UserMarketPriceAdjustmentSettings/Base/SaveAll

Request Information

URI Parameters

None.

Body Parameters

Collection of UserMarketPriceAdjSettings
NameDescriptionTypeAdditional information
UserName

string

None.

CropId

integer

None.

MarketGroupCode

string

None.

PriceAdjustment

decimal number

None.

MarketGroupDescription

string

None.

PremiumAdjustment

decimal number

None.

ChangeTracker

ObjectChangeTracker

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "UserName": "sample string 1",
    "CropId": 2,
    "MarketGroupCode": "sample string 3",
    "PriceAdjustment": 4.0,
    "MarketGroupDescription": "sample string 5",
    "PremiumAdjustment": 6.0,
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserMarketPriceAdjSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <UserMarketPriceAdjSettings 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>2</CropId>
    <MarketGroupCode>sample string 3</MarketGroupCode>
    <MarketGroupDescription>sample string 5</MarketGroupDescription>
    <PremiumAdjustment>6</PremiumAdjustment>
    <PriceAdjustment>4</PriceAdjustment>
    <UserName>sample string 1</UserName>
  </UserMarketPriceAdjSettings>
  <UserMarketPriceAdjSettings z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfUserMarketPriceAdjSettings>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of UserMarketPriceAdjSettings
NameDescriptionTypeAdditional information
UserName

string

None.

CropId

integer

None.

MarketGroupCode

string

None.

PriceAdjustment

decimal number

None.

MarketGroupDescription

string

None.

PremiumAdjustment

decimal number

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "UserName": "sample string 1",
    "CropId": 2,
    "MarketGroupCode": "sample string 3",
    "PriceAdjustment": 4.0,
    "MarketGroupDescription": "sample string 5",
    "PremiumAdjustment": 6.0,
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserMarketPriceAdjSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <UserMarketPriceAdjSettings 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>2</CropId>
    <MarketGroupCode>sample string 3</MarketGroupCode>
    <MarketGroupDescription>sample string 5</MarketGroupDescription>
    <PremiumAdjustment>6</PremiumAdjustment>
    <PriceAdjustment>4</PriceAdjustment>
    <UserName>sample string 1</UserName>
  </UserMarketPriceAdjSettings>
  <UserMarketPriceAdjSettings z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfUserMarketPriceAdjSettings>