POST BusinessPartner/GetBusinessPartnerDetailsById/{businessPartnerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
businessPartnerId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

PartnerDetail
NameDescriptionTypeAdditional information
un

Collection of UserCompanyBrand

None.

i

boolean

None.

p

globally unique identifier

None.

r

integer

None.

n

string

None.

a

globally unique identifier

None.

m

string

None.

f

integer

None.

c

string

None.

t

string

None.

d

string

None.

u

string

None.

o

string

None.

e

string

None.

h

Collection of PartnerRoleShipTo

None.

l

Collection of PartnerRoleCompliance

None.

b

Collection of PartnerRoleTrait

None.

g

Collection of integer

None.

j

Collection of Territory

None.

k

Collection of District

None.

q

globally unique identifier

None.

w

integer

None.

x

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "un": [
    {
      "$id": "2",
      "CompanyCode": "sample string 1",
      "UserName": "sample string 2",
      "CountryCode": "sample string 3",
      "BrandId": 4.0,
      "Region": "sample string 5",
      "ChangeTracker": {
        "$id": "3",
        "State": 2,
        "ObjectsRemovedFromCollectionProperties": {},
        "OriginalValues": {},
        "ExtendedProperties": {},
        "ObjectsAddedToCollectionProperties": {}
      }
    },
    {
      "$ref": "2"
    }
  ],
  "i": true,
  "p": "455f2460-fdbf-41d3-88d0-1499bdfe75be",
  "r": 3,
  "n": "sample string 4",
  "a": "babc89f4-bd4d-41f7-8b7d-deaa3681154b",
  "m": "sample string 6",
  "f": 1,
  "c": "sample string 7",
  "t": "sample string 8",
  "d": "sample string 9",
  "u": "sample string 10",
  "o": "sample string 11",
  "e": "sample string 12",
  "h": [
    {
      "$id": "4",
      "ShipToId": "1ea2813d-3d0c-4fb9-882c-f64083fc65f3",
      "PartnerRoleId": "d7c81d0a-0ba4-4e9f-b450-0699d62583c6",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "LastMaintenanceName": "sample string 5",
      "LastMaintenanceDate": "2025-04-04T15:03:49.3883831+00:00",
      "FISId": 1,
      "TerritoryCode": "sample string 7",
      "InEffDate": "2025-04-04T15:03:49.3883831+00:00",
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "4"
    }
  ],
  "l": [
    {
      "$id": "5",
      "PartnerRoleId": "ae7bc139-f216-412e-bd39-b90ad775ec5a",
      "Documentid": 2,
      "Needed": true,
      "DocumentSignatureReasonId": 1,
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "5"
    }
  ],
  "b": [
    {
      "$id": "6",
      "PartnerRoleId": "4770f04e-cbc2-4bbd-b52c-4645a405acdd",
      "Value": "sample string 2",
      "TraitId": 3,
      "PartnerRoleTraitId": "9c9b412b-710a-43c5-8e5f-c5b82d507e34",
      "AddedOn": "2025-04-04T15:03:49.3883831+00:00",
      "SalesYear": 1,
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "6"
    }
  ],
  "g": [
    1,
    2
  ],
  "j": [
    {
      "$id": "7",
      "TerritoryCode": "sample string 1",
      "Name": "sample string 2",
      "AreaCode": "sample string 3",
      "BusinessUnitCode": "sample string 1",
      "LastMaintenanceName": "sample string 5",
      "LastMaintenanceDate": "2025-04-04T15:03:49.3883831+00:00",
      "Region": "sample string 7",
      "ManagerName": "sample string 8",
      "DistrictCode": "sample string 9",
      "CountryCode": "sample string 10",
      "CompanyCode": "sample string 11",
      "BusinessUnit": {
        "$id": "8",
        "BusinessUnitCode": "sample string 1",
        "Name": "sample string 2",
        "LastMaintenanceName": "sample string 3",
        "LastMaintenanceDate": "2025-04-04T15:03:49.3883831+00:00",
        "LegalEntityId": 1.0,
        "SortOrder": 1,
        "CompanyCode": "sample string 5",
        "CountryCode": "sample string 6",
        "Area": [],
        "ExperimentBusinessUnitArea": [],
        "SeedRequest": [],
        "Territory": [
          {
            "$ref": "7"
          }
        ],
        "ChangeTracker": {
          "$id": "9",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {
            "Territory": [
              {
                "$ref": "7"
              }
            ]
          }
        }
      },
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "7"
    }
  ],
  "k": [
    {
      "$id": "10",
      "DistrictCode": "sample string 1",
      "Name": "sample string 2",
      "AreaCode": "sample string 3",
      "BusinessUnitCode": "sample string 4",
      "LastMaintenanceName": "sample string 5",
      "LastMaintenanceDate": "2025-04-04T15:03:49.3883831+00:00",
      "Region": "sample string 7",
      "ManagerName": "sample string 8",
      "CompanyCode": "sample string 9",
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "10"
    }
  ],
  "q": "70457c7c-f2d2-4208-9e47-872cee500462",
  "w": 1,
  "x": true
}

application/xml, text/xml

Sample:
<PartnerDetail 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">
  <a>babc89f4-bd4d-41f7-8b7d-deaa3681154b</a>
  <b>
    <PartnerRoleTrait z:Id="i2">
      <AddedOn>2025-04-04T15:03:49.3883831+00:00</AddedOn>
      <ChangeTracker z:Id="i3">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <PartnerRoleId>4770f04e-cbc2-4bbd-b52c-4645a405acdd</PartnerRoleId>
      <PartnerRoleTraitId>9c9b412b-710a-43c5-8e5f-c5b82d507e34</PartnerRoleTraitId>
      <SalesYear>1</SalesYear>
      <TraitId>3</TraitId>
      <Value>sample string 2</Value>
    </PartnerRoleTrait>
    <PartnerRoleTrait z:Ref="i2" />
  </b>
  <c>sample string 7</c>
  <d>sample string 9</d>
  <e>sample string 12</e>
  <f>1</f>
  <g xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </g>
  <h>
    <PartnerRoleShipTo z:Id="i4">
      <ChangeTracker z:Ref="i3" />
      <FISId>1</FISId>
      <InEffDate>2025-04-04T15:03:49.3883831+00:00</InEffDate>
      <LastMaintenanceDate>2025-04-04T15:03:49.3883831+00:00</LastMaintenanceDate>
      <LastMaintenanceName>sample string 5</LastMaintenanceName>
      <Name>sample string 3</Name>
      <PartnerRoleId>d7c81d0a-0ba4-4e9f-b450-0699d62583c6</PartnerRoleId>
      <ShipToId>1ea2813d-3d0c-4fb9-882c-f64083fc65f3</ShipToId>
      <TerritoryCode>sample string 7</TerritoryCode>
      <Type>sample string 4</Type>
    </PartnerRoleShipTo>
    <PartnerRoleShipTo z:Ref="i4" />
  </h>
  <i>true</i>
  <j>
    <Territory z:Id="i5">
      <Area i:nil="true" />
      <AreaCode>sample string 3</AreaCode>
      <BusinessUnit z:Id="i6">
        <Area />
        <BusinessUnitCode>sample string 1</BusinessUnitCode>
        <ChangeTracker z:Id="i7">
          <ExtendedProperties />
          <ObjectsAddedToCollectionProperties>
            <AddedObjectsForProperty>
              <CollectionPropertyName>Territory</CollectionPropertyName>
              <AddedObjects>
                <ObjectValue z:Ref="i5" />
              </AddedObjects>
            </AddedObjectsForProperty>
          </ObjectsAddedToCollectionProperties>
          <ObjectsRemovedFromCollectionProperties />
          <OriginalValues />
          <State>Added</State>
        </ChangeTracker>
        <CompanyCode>sample string 5</CompanyCode>
        <CountryCode>sample string 6</CountryCode>
        <ExperimentBusinessUnitArea />
        <LastMaintenanceDate>2025-04-04T15:03:49.3883831+00:00</LastMaintenanceDate>
        <LastMaintenanceName>sample string 3</LastMaintenanceName>
        <LegalEntityId>1</LegalEntityId>
        <Name>sample string 2</Name>
        <SeedRequest />
        <SortOrder>1</SortOrder>
        <Territory>
          <Territory z:Ref="i5" />
        </Territory>
      </BusinessUnit>
      <BusinessUnitCode>sample string 1</BusinessUnitCode>
      <ChangeTracker z:Ref="i3" />
      <CompanyCode>sample string 11</CompanyCode>
      <CountryCode>sample string 10</CountryCode>
      <DistrictCode>sample string 9</DistrictCode>
      <LastMaintenanceDate>2025-04-04T15:03:49.3883831+00:00</LastMaintenanceDate>
      <LastMaintenanceName>sample string 5</LastMaintenanceName>
      <ManagerName>sample string 8</ManagerName>
      <Name>sample string 2</Name>
      <Region>sample string 7</Region>
      <TerritoryCode>sample string 1</TerritoryCode>
    </Territory>
    <Territory z:Ref="i5" />
  </j>
  <k>
    <District z:Id="i8">
      <AreaCode>sample string 3</AreaCode>
      <BusinessUnitCode>sample string 4</BusinessUnitCode>
      <ChangeTracker z:Ref="i3" />
      <CompanyCode>sample string 9</CompanyCode>
      <DistrictCode>sample string 1</DistrictCode>
      <LastMaintenanceDate>2025-04-04T15:03:49.3883831+00:00</LastMaintenanceDate>
      <LastMaintenanceName>sample string 5</LastMaintenanceName>
      <ManagerName>sample string 8</ManagerName>
      <Name>sample string 2</Name>
      <Region>sample string 7</Region>
    </District>
    <District z:Ref="i8" />
  </k>
  <l>
    <PartnerRoleCompliance z:Id="i9">
      <ChangeTracker z:Ref="i3" />
      <DocumentSignatureReasonId>1</DocumentSignatureReasonId>
      <Documentid>2</Documentid>
      <Needed>true</Needed>
      <PartnerRoleId>ae7bc139-f216-412e-bd39-b90ad775ec5a</PartnerRoleId>
    </PartnerRoleCompliance>
    <PartnerRoleCompliance z:Ref="i9" />
  </l>
  <m>sample string 6</m>
  <n>sample string 4</n>
  <o>sample string 11</o>
  <p>455f2460-fdbf-41d3-88d0-1499bdfe75be</p>
  <q>70457c7c-f2d2-4208-9e47-872cee500462</q>
  <r>3</r>
  <t>sample string 8</t>
  <u>sample string 10</u>
  <un>
    <UserCompanyBrand z:Id="i10">
      <BrandId>4</BrandId>
      <ChangeTracker z:Ref="i3" />
      <CompanyCode>sample string 1</CompanyCode>
      <CountryCode>sample string 3</CountryCode>
      <Region>sample string 5</Region>
      <UserName>sample string 2</UserName>
    </UserCompanyBrand>
    <UserCompanyBrand z:Ref="i10" />
  </un>
  <w>1</w>
  <x>true</x>
</PartnerDetail>