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": "5d20b4b6-ecad-4438-a6dd-3e82723767ce",
  "r": 3,
  "n": "sample string 4",
  "a": "87a071d8-6ff3-45e7-b3bb-ed8ff06c37da",
  "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": "076c4244-683f-463c-9fdb-ce5ef4f0690b",
      "PartnerRoleId": "79d43bf3-e726-4554-acd5-f92af1511cfa",
      "Name": "sample string 3",
      "Type": "sample string 4",
      "LastMaintenanceName": "sample string 5",
      "LastMaintenanceDate": "2024-12-08T16:33:15.6304198+00:00",
      "FISId": 1,
      "TerritoryCode": "sample string 7",
      "InEffDate": "2024-12-08T16:33:15.6304198+00:00",
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "4"
    }
  ],
  "l": [
    {
      "$id": "5",
      "PartnerRoleId": "73e3354a-2d9d-43e4-96f2-1f757784ab4f",
      "Documentid": 2,
      "Needed": true,
      "DocumentSignatureReasonId": 1,
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "5"
    }
  ],
  "b": [
    {
      "$id": "6",
      "PartnerRoleId": "d0c0d3bb-71c9-4657-9260-2503ecae335a",
      "Value": "sample string 2",
      "TraitId": 3,
      "PartnerRoleTraitId": "17b3a67d-21c9-4d27-817b-d6107b668297",
      "AddedOn": "2024-12-08T16:33:15.6304198+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": "2024-12-08T16:33:15.6304198+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": "2024-12-08T16:33:15.6304198+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": "2024-12-08T16:33:15.6304198+00:00",
      "Region": "sample string 7",
      "ManagerName": "sample string 8",
      "CompanyCode": "sample string 9",
      "ChangeTracker": {
        "$ref": "3"
      }
    },
    {
      "$ref": "10"
    }
  ],
  "q": "4c2d6b48-3c43-4314-9ddc-7891f3c65c72",
  "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>87a071d8-6ff3-45e7-b3bb-ed8ff06c37da</a>
  <b>
    <PartnerRoleTrait z:Id="i2">
      <AddedOn>2024-12-08T16:33:15.6304198+00:00</AddedOn>
      <ChangeTracker z:Id="i3">
        <ExtendedProperties />
        <ObjectsAddedToCollectionProperties />
        <ObjectsRemovedFromCollectionProperties />
        <OriginalValues />
        <State>Added</State>
      </ChangeTracker>
      <PartnerRoleId>d0c0d3bb-71c9-4657-9260-2503ecae335a</PartnerRoleId>
      <PartnerRoleTraitId>17b3a67d-21c9-4d27-817b-d6107b668297</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>2024-12-08T16:33:15.6304198+00:00</InEffDate>
      <LastMaintenanceDate>2024-12-08T16:33:15.6304198+00:00</LastMaintenanceDate>
      <LastMaintenanceName>sample string 5</LastMaintenanceName>
      <Name>sample string 3</Name>
      <PartnerRoleId>79d43bf3-e726-4554-acd5-f92af1511cfa</PartnerRoleId>
      <ShipToId>076c4244-683f-463c-9fdb-ce5ef4f0690b</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>2024-12-08T16:33:15.6304198+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>2024-12-08T16:33:15.6304198+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>2024-12-08T16:33:15.6304198+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>73e3354a-2d9d-43e4-96f2-1f757784ab4f</PartnerRoleId>
    </PartnerRoleCompliance>
    <PartnerRoleCompliance z:Ref="i9" />
  </l>
  <m>sample string 6</m>
  <n>sample string 4</n>
  <o>sample string 11</o>
  <p>5d20b4b6-ecad-4438-a6dd-3e82723767ce</p>
  <q>4c2d6b48-3c43-4314-9ddc-7891f3c65c72</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>