POST ExperimentPartnerAssignment/GetExperimentPartnerAssignments_2/{partnerRoleId}/{assignmentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
partnerRoleId

globally unique identifier

Required

assignmentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ExperimentPartnerAssignment
NameDescriptionTypeAdditional information
ExperimentPartnerAssignmentId

globally unique identifier

None.

ExperimentId

globally unique identifier

None.

PartnerRoleId

globally unique identifier

None.

AssignmentId

integer

None.

AssignedNumberOfLocations

integer

None.

IsExperimentCreator

boolean

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

AssignedByPartnerRoleId

globally unique identifier

None.

ShipTo

string

None.

ShipToId

globally unique identifier

None.

Assignment

Assignment

None.

LocationPartnerAssignment

Collection of LocationPartnerAssignment

None.

Experiment

Experiment

None.

ExperimentPartnerAssignment1

Collection of ExperimentPartnerAssignment

None.

ExperimentPartnerAssignment2

ExperimentPartnerAssignment

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "ExperimentPartnerAssignmentId": "098ae2e0-ec8f-4fed-ba92-29702ce2373e",
    "ExperimentId": "c99a0e3d-8df3-4eb8-8cd1-f600318c7463",
    "PartnerRoleId": "b66f488e-a95c-45cb-9488-831c96c641e8",
    "AssignmentId": 4,
    "AssignedNumberOfLocations": 1,
    "IsExperimentCreator": true,
    "LastMaintenanceName": "sample string 6",
    "LastMaintenanceDate": "2024-09-12T13:10:26.8977733+00:00",
    "AssignedByPartnerRoleId": "85380f25-9c39-436e-85d6-7bfa4337960e",
    "ShipTo": "sample string 8",
    "ShipToId": "b62614ad-88a9-47d7-9811-7b995ca760f7",
    "LocationPartnerAssignment": [
      {
        "$id": "2",
        "LocationPartnerAssignmentId": "f4cc6f0d-db38-40b5-940f-d20a6b7223d3",
        "LocationId": "0388308a-93fe-4d9e-96bf-3fee05cb8a90",
        "ExperimentPartnerAssignmentId": "098ae2e0-ec8f-4fed-ba92-29702ce2373e",
        "CreatedLocation": true,
        "AddName": "sample string 4",
        "AddDate": "2024-09-12T13:10:26.914248+00:00",
        "LastMaintenanceName": "sample string 6",
        "LastMaintenanceDate": "2024-09-12T13:10:26.914248+00:00",
        "ExperimentPartnerAssignment": {
          "$ref": "1"
        },
        "ChangeTracker": {
          "$id": "3",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {}
        },
        "PartnerName": "sample string 8",
        "TrackingName": "sample string 9"
      }
    ],
    "ExperimentPartnerAssignment1": [],
    "ChangeTracker": {
      "$id": "4",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {
        "LocationPartnerAssignment": [
          {
            "$ref": "2"
          }
        ]
      }
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfExperimentPartnerAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <ExperimentPartnerAssignment i:nil="true" />
  <ExperimentPartnerAssignment z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AssignedByPartnerRoleId>85380f25-9c39-436e-85d6-7bfa4337960e</AssignedByPartnerRoleId>
    <AssignedNumberOfLocations>1</AssignedNumberOfLocations>
    <Assignment i:nil="true" />
    <AssignmentId>4</AssignmentId>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>LocationPartnerAssignment</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i3" i:type="LocationPartnerAssignment">
              <AddDate>2024-09-12T13:10:26.914248+00:00</AddDate>
              <AddName>sample string 4</AddName>
              <ChangeTracker z:Id="i4">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties />
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <CreatedLocation>true</CreatedLocation>
              <ExperimentPartnerAssignment z:Ref="i1" />
              <ExperimentPartnerAssignmentId>098ae2e0-ec8f-4fed-ba92-29702ce2373e</ExperimentPartnerAssignmentId>
              <LastMaintenanceDate>2024-09-12T13:10:26.914248+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 6</LastMaintenanceName>
              <Location i:nil="true" />
              <LocationId>0388308a-93fe-4d9e-96bf-3fee05cb8a90</LocationId>
              <LocationPartnerAssignmentId>f4cc6f0d-db38-40b5-940f-d20a6b7223d3</LocationPartnerAssignmentId>
              <PartnerName>sample string 8</PartnerName>
              <TrackingName>sample string 9</TrackingName>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
      </ObjectsAddedToCollectionProperties>
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Experiment i:nil="true" />
    <ExperimentId>c99a0e3d-8df3-4eb8-8cd1-f600318c7463</ExperimentId>
    <ExperimentPartnerAssignment1 />
    <ExperimentPartnerAssignment2 i:nil="true" />
    <ExperimentPartnerAssignmentId>098ae2e0-ec8f-4fed-ba92-29702ce2373e</ExperimentPartnerAssignmentId>
    <IsExperimentCreator>true</IsExperimentCreator>
    <LastMaintenanceDate>2024-09-12T13:10:26.8977733+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 6</LastMaintenanceName>
    <LocationPartnerAssignment>
      <LocationPartnerAssignment z:Ref="i3" />
    </LocationPartnerAssignment>
    <PartnerRoleId>b66f488e-a95c-45cb-9488-831c96c641e8</PartnerRoleId>
    <ShipTo>sample string 8</ShipTo>
    <ShipToId>b62614ad-88a9-47d7-9811-7b995ca760f7</ShipToId>
  </ExperimentPartnerAssignment>
</ArrayOfExperimentPartnerAssignment>