POST UserMarketPriceAdjustmentSettings/GetByUserName_2

Request Information

URI Parameters

None.

Body Parameters

GetByUserName_2Input
NameDescriptionTypeAdditional information
userName

string

None.

cropid

integer

None.

marketgroupcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "cropid": 2,
  "marketgroupcode": "sample string 3"
}

application/xml, text/xml

Sample:
<UserMarketPriceAdjustmentSettingsController.GetByUserName_2Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.TrialsAPIServices.Controllers">
  <cropid>2</cropid>
  <marketgroupcode>sample string 3</marketgroupcode>
  <userName>sample string 1</userName>
</UserMarketPriceAdjustmentSettingsController.GetByUserName_2Input>

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>