POST Brand/GetCortevaBrands

Request Information

URI Parameters

None.

Body Parameters

string

Request 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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of CortevaBrands
NameDescriptionTypeAdditional information
BrandId

integer

None.

CompanyId

integer

None.

CountryCode

string

None.

IsDefault

boolean

None.

ChangeTracker

ObjectChangeTracker

None.

BrandName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "BrandId": 1,
    "CompanyId": 2,
    "CountryCode": "sample string 3",
    "IsDefault": true,
    "ChangeTracker": {
      "$id": "2",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {}
    },
    "BrandName": "sample string 4"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCortevaBrands xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <CortevaBrands z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <BrandId>1</BrandId>
    <BrandName>sample string 4</BrandName>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties />
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <CompanyId>2</CompanyId>
    <CountryCode>sample string 3</CountryCode>
    <IsDefault>true</IsDefault>
  </CortevaBrands>
  <CortevaBrands z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfCortevaBrands>