POST AvailableToSell/Base/SaveAll

Request Information

URI Parameters

None.

Body Parameters

Collection of 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:
[
  {
    "$id": "1",
    "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-14T10:50:38.2873818+00:00",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAvailableToSell xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <AvailableToSell z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <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-14T10:50:38.2873818+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>
  <AvailableToSell z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfAvailableToSell>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "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-14T10:50:38.2873818+00:00",
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    }
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAvailableToSell xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <AvailableToSell z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <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-14T10:50:38.2873818+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>
  <AvailableToSell z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfAvailableToSell>