POST UserMarketPriceSettings/Base/Save

Request Information

URI Parameters

None.

Body Parameters

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:
{
  "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": {}
  }
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.

Response Formats

application/json, text/json

Sample:
{
  "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": {}
  }
}

application/xml, text/xml

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