POST Partner/GetPartnersByAssignmentType

Request Information

URI Parameters

None.

Body Parameters

AssignmentEnum

Request Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<AssignmentEnum xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">Steward</AssignmentEnum>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of 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:
[
  {
    "$id": "1",
    "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": "86179abd-ef30-4947-beab-ba88dd788115",
    "r": 3,
    "n": "sample string 4",
    "a": "07ec1a18-4c2b-415d-9dbb-e73d24ad71cc",
    "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": "5f548099-4d40-41fc-b769-97377e284754",
        "PartnerRoleId": "af6d297f-fb16-46b3-a87b-4309ef0c8ffa",
        "Name": "sample string 3",
        "Type": "sample string 4",
        "LastMaintenanceName": "sample string 5",
        "LastMaintenanceDate": "2024-12-05T17:23:45.2113492+00:00",
        "FISId": 1,
        "TerritoryCode": "sample string 7",
        "InEffDate": "2024-12-05T17:23:45.2113492+00:00",
        "ChangeTracker": {
          "$ref": "3"
        }
      },
      {
        "$ref": "4"
      }
    ],
    "l": [
      {
        "$id": "5",
        "PartnerRoleId": "e1e6fdf7-2319-4178-ad0e-0319aed46b7e",
        "Documentid": 2,
        "Needed": true,
        "DocumentSignatureReasonId": 1,
        "ChangeTracker": {
          "$ref": "3"
        }
      },
      {
        "$ref": "5"
      }
    ],
    "b": [
      {
        "$id": "6",
        "PartnerRoleId": "33f00b17-df7e-4399-9a15-1cbaac133e13",
        "Value": "sample string 2",
        "TraitId": 3,
        "PartnerRoleTraitId": "376a49e4-0fbc-4795-a5c7-59de8ee2d9e4",
        "AddedOn": "2024-12-05T17:23:45.2413499+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-05T17:23:45.2413499+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-05T17:23:45.2413499+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-05T17:23:45.261351+00:00",
        "Region": "sample string 7",
        "ManagerName": "sample string 8",
        "CompanyCode": "sample string 9",
        "ChangeTracker": {
          "$ref": "3"
        }
      },
      {
        "$ref": "10"
      }
    ],
    "q": "138ecf57-c4d2-4976-9a83-a462f2c9ce76",
    "w": 1,
    "x": true
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPartnerDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <PartnerDetail z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <a>07ec1a18-4c2b-415d-9dbb-e73d24ad71cc</a>
    <b>
      <PartnerRoleTrait z:Id="i2">
        <AddedOn>2024-12-05T17:23:45.2413499+00:00</AddedOn>
        <ChangeTracker z:Id="i3">
          <ExtendedProperties />
          <ObjectsAddedToCollectionProperties />
          <ObjectsRemovedFromCollectionProperties />
          <OriginalValues />
          <State>Added</State>
        </ChangeTracker>
        <PartnerRoleId>33f00b17-df7e-4399-9a15-1cbaac133e13</PartnerRoleId>
        <PartnerRoleTraitId>376a49e4-0fbc-4795-a5c7-59de8ee2d9e4</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:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </g>
    <h>
      <PartnerRoleShipTo z:Id="i4">
        <ChangeTracker z:Ref="i3" />
        <FISId>1</FISId>
        <InEffDate>2024-12-05T17:23:45.2113492+00:00</InEffDate>
        <LastMaintenanceDate>2024-12-05T17:23:45.2113492+00:00</LastMaintenanceDate>
        <LastMaintenanceName>sample string 5</LastMaintenanceName>
        <Name>sample string 3</Name>
        <PartnerRoleId>af6d297f-fb16-46b3-a87b-4309ef0c8ffa</PartnerRoleId>
        <ShipToId>5f548099-4d40-41fc-b769-97377e284754</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-05T17:23:45.2413499+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-05T17:23:45.2413499+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-05T17:23:45.261351+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>e1e6fdf7-2319-4178-ad0e-0319aed46b7e</PartnerRoleId>
      </PartnerRoleCompliance>
      <PartnerRoleCompliance z:Ref="i9" />
    </l>
    <m>sample string 6</m>
    <n>sample string 4</n>
    <o>sample string 11</o>
    <p>86179abd-ef30-4947-beab-ba88dd788115</p>
    <q>138ecf57-c4d2-4976-9a83-a462f2c9ce76</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>
  <PartnerDetail z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfPartnerDetail>