POST UserCompanyBrand/Base/Save

Request Information

URI Parameters

None.

Body Parameters

UserCompanyBrand
NameDescriptionTypeAdditional information
CompanyCode

string

None.

UserName

string

None.

CountryCode

string

None.

BrandId

decimal number

None.

Region

string

None.

ChangeTracker

ObjectChangeTracker

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyCode": "sample string 1",
  "UserName": "sample string 2",
  "CountryCode": "sample string 3",
  "BrandId": 4.0,
  "Region": "sample string 5",
  "ChangeTracker": {
    "$id": "2",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

application/xml, text/xml

Sample:
<UserCompanyBrand 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>4</BrandId>
  <ChangeTracker z:Id="i2">
    <ExtendedProperties />
    <ObjectsAddedToCollectionProperties />
    <ObjectsRemovedFromCollectionProperties />
    <OriginalValues />
    <State>Added</State>
  </ChangeTracker>
  <CompanyCode>sample string 1</CompanyCode>
  <CountryCode>sample string 3</CountryCode>
  <Region>sample string 5</Region>
  <UserName>sample string 2</UserName>
</UserCompanyBrand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserCompanyBrand
NameDescriptionTypeAdditional information
CompanyCode

string

None.

UserName

string

None.

CountryCode

string

None.

BrandId

decimal number

None.

Region

string

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
{
  "CompanyCode": "sample string 1",
  "UserName": "sample string 2",
  "CountryCode": "sample string 3",
  "BrandId": 4.0,
  "Region": "sample string 5",
  "ChangeTracker": {
    "$id": "2",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

application/xml, text/xml

Sample:
<UserCompanyBrand 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>4</BrandId>
  <ChangeTracker z:Id="i2">
    <ExtendedProperties />
    <ObjectsAddedToCollectionProperties />
    <ObjectsRemovedFromCollectionProperties />
    <OriginalValues />
    <State>Added</State>
  </ChangeTracker>
  <CompanyCode>sample string 1</CompanyCode>
  <CountryCode>sample string 3</CountryCode>
  <Region>sample string 5</Region>
  <UserName>sample string 2</UserName>
</UserCompanyBrand>