POST AvailableToSell/ValidateSave

Request Information

URI Parameters

None.

Body Parameters

AvailableToSell
NameDescriptionTypeAdditional information
Country

string

None.

Year

integer

None.

Season

integer

None.

ProductLineCode

string

None.

GEId

decimal number

None.

BrandId

decimal number

None.

LocalName

string

None.

LocalRStage

string

None.

FromFIS

boolean

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

ChangeTracker

ObjectChangeTracker

None.

Request Formats

application/json, text/json

Sample:
{
  "Country": "sample string 1",
  "Year": 2,
  "Season": 3,
  "ProductLineCode": "sample string 4",
  "GEId": 5.0,
  "BrandId": 6.0,
  "LocalName": "sample string 7",
  "LocalRStage": "sample string 8",
  "FromFIS": true,
  "LastMaintenanceName": "sample string 10",
  "LastMaintenanceDate": "2024-09-14T00:55:37.875473+00:00",
  "ChangeTracker": {
    "$id": "2",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

application/xml, text/xml

Sample:
<AvailableToSell 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">
  <BrandId>6</BrandId>
  <ChangeTracker z:Id="i2">
    <ExtendedProperties />
    <ObjectsAddedToCollectionProperties />
    <ObjectsRemovedFromCollectionProperties />
    <OriginalValues />
    <State>Added</State>
  </ChangeTracker>
  <Country>sample string 1</Country>
  <FromFIS>true</FromFIS>
  <GEId>5</GEId>
  <LastMaintenanceDate>2024-09-14T00:55:37.875473+00:00</LastMaintenanceDate>
  <LastMaintenanceName>sample string 10</LastMaintenanceName>
  <LocalName>sample string 7</LocalName>
  <LocalRStage>sample string 8</LocalRStage>
  <ProductLineCode>sample string 4</ProductLineCode>
  <Season>3</Season>
  <Year>2</Year>
</AvailableToSell>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>