GET Assignment/Base/All

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Assignment
NameDescriptionTypeAdditional information
AssignmentId

integer

None.

Description

string

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

ExperimentPartnerAssignment

Collection of ExperimentPartnerAssignment

None.

AssignmentRole

Collection of AssignmentRole

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "AssignmentId": 1,
    "Description": "sample string 2",
    "LastMaintenanceName": "sample string 3",
    "LastMaintenanceDate": "2024-12-08T16:11:22.8476707+00:00",
    "ExperimentPartnerAssignment": [
      {
        "$id": "2",
        "ExperimentPartnerAssignmentId": "cac53a7a-15da-455f-834a-d4ed830e95c8",
        "ExperimentId": "388e2e6e-4b67-4a0a-a10b-d41fd03f0973",
        "PartnerRoleId": "2028b200-cccc-4198-a9b7-c59fcd947789",
        "AssignmentId": 1,
        "AssignedNumberOfLocations": 1,
        "IsExperimentCreator": true,
        "LastMaintenanceName": "sample string 6",
        "LastMaintenanceDate": "2024-12-08T16:11:22.8476707+00:00",
        "AssignedByPartnerRoleId": "f76c09f1-f3e9-4e67-8224-fc6047090ef7",
        "ShipTo": "sample string 8",
        "ShipToId": "a17a492b-9020-46dd-97b9-34c6a033652e",
        "Assignment": {
          "$ref": "1"
        },
        "LocationPartnerAssignment": [
          {
            "$id": "3",
            "LocationPartnerAssignmentId": "295a5db9-0445-409b-9426-dfb6058c541b",
            "LocationId": "fbb99e50-d15f-424a-8a8c-961c9a533a2e",
            "ExperimentPartnerAssignmentId": "cac53a7a-15da-455f-834a-d4ed830e95c8",
            "CreatedLocation": true,
            "AddName": "sample string 4",
            "AddDate": "2024-12-08T16:11:22.9101619+00:00",
            "LastMaintenanceName": "sample string 6",
            "LastMaintenanceDate": "2024-12-08T16:11:22.9101619+00:00",
            "ExperimentPartnerAssignment": {
              "$ref": "2"
            },
            "ChangeTracker": {
              "$id": "4",
              "State": 2,
              "ObjectsRemovedFromCollectionProperties": {},
              "OriginalValues": {},
              "ExtendedProperties": {},
              "ObjectsAddedToCollectionProperties": {}
            },
            "PartnerName": "sample string 8",
            "TrackingName": "sample string 9"
          }
        ],
        "ExperimentPartnerAssignment1": [],
        "ChangeTracker": {
          "$id": "5",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {
            "LocationPartnerAssignment": [
              {
                "$ref": "3"
              }
            ]
          }
        }
      }
    ],
    "AssignmentRole": [],
    "ChangeTracker": {
      "$id": "6",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {
        "ExperimentPartnerAssignment": [
          {
            "$ref": "2"
          }
        ]
      }
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfAssignment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <Assignment i:nil="true" />
  <Assignment z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <AssignmentId>1</AssignmentId>
    <AssignmentRole />
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>ExperimentPartnerAssignment</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i3" i:type="ExperimentPartnerAssignment">
              <AssignedByPartnerRoleId>f76c09f1-f3e9-4e67-8224-fc6047090ef7</AssignedByPartnerRoleId>
              <AssignedNumberOfLocations>1</AssignedNumberOfLocations>
              <Assignment z:Ref="i1" />
              <AssignmentId>1</AssignmentId>
              <ChangeTracker z:Id="i4">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties>
                  <AddedObjectsForProperty>
                    <CollectionPropertyName>LocationPartnerAssignment</CollectionPropertyName>
                    <AddedObjects>
                      <ObjectValue z:Id="i5" i:type="LocationPartnerAssignment">
                        <AddDate>2024-12-08T16:11:22.9101619+00:00</AddDate>
                        <AddName>sample string 4</AddName>
                        <ChangeTracker z:Id="i6">
                          <ExtendedProperties />
                          <ObjectsAddedToCollectionProperties />
                          <ObjectsRemovedFromCollectionProperties />
                          <OriginalValues />
                          <State>Added</State>
                        </ChangeTracker>
                        <CreatedLocation>true</CreatedLocation>
                        <ExperimentPartnerAssignment z:Ref="i3" />
                        <ExperimentPartnerAssignmentId>cac53a7a-15da-455f-834a-d4ed830e95c8</ExperimentPartnerAssignmentId>
                        <LastMaintenanceDate>2024-12-08T16:11:22.9101619+00:00</LastMaintenanceDate>
                        <LastMaintenanceName>sample string 6</LastMaintenanceName>
                        <Location i:nil="true" />
                        <LocationId>fbb99e50-d15f-424a-8a8c-961c9a533a2e</LocationId>
                        <LocationPartnerAssignmentId>295a5db9-0445-409b-9426-dfb6058c541b</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>388e2e6e-4b67-4a0a-a10b-d41fd03f0973</ExperimentId>
              <ExperimentPartnerAssignment1 />
              <ExperimentPartnerAssignment2 i:nil="true" />
              <ExperimentPartnerAssignmentId>cac53a7a-15da-455f-834a-d4ed830e95c8</ExperimentPartnerAssignmentId>
              <IsExperimentCreator>true</IsExperimentCreator>
              <LastMaintenanceDate>2024-12-08T16:11:22.8476707+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 6</LastMaintenanceName>
              <LocationPartnerAssignment>
                <LocationPartnerAssignment z:Ref="i5" />
              </LocationPartnerAssignment>
              <PartnerRoleId>2028b200-cccc-4198-a9b7-c59fcd947789</PartnerRoleId>
              <ShipTo>sample string 8</ShipTo>
              <ShipToId>a17a492b-9020-46dd-97b9-34c6a033652e</ShipToId>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
      </ObjectsAddedToCollectionProperties>
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Description>sample string 2</Description>
    <ExperimentPartnerAssignment>
      <ExperimentPartnerAssignment z:Ref="i3" />
    </ExperimentPartnerAssignment>
    <LastMaintenanceDate>2024-12-08T16:11:22.8476707+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 3</LastMaintenanceName>
  </Assignment>
</ArrayOfAssignment>