POST ExperimentPartnerAssignment/GetExperimentPartnerAssignments_2/{partnerRoleId}/{assignmentId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
partnerRoleId | globally unique identifier |
Required |
|
assignmentId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ExperimentPartnerAssignmentName | Description | Type | Additional 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": "1dc6e889-4673-4780-a2e6-90b1a2c28549", "ExperimentId": "1107a97e-da9e-4fbb-9e8d-980f4156db00", "PartnerRoleId": "1bc6c9b7-91f4-45b4-be5c-99fbf559dde9", "AssignmentId": 4, "AssignedNumberOfLocations": 1, "IsExperimentCreator": true, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-07T11:04:12.0331264+00:00", "AssignedByPartnerRoleId": "c3bbd64a-cdf4-40fe-9111-e5319764e948", "ShipTo": "sample string 8", "ShipToId": "b040500a-b292-4e95-9ddd-17fad1aaa078", "LocationPartnerAssignment": [ { "$id": "2", "LocationPartnerAssignmentId": "dc788ef0-8ca7-4ea0-a157-7008c90e2fd5", "LocationId": "c862a350-5993-4078-8fcd-8a97d74a6813", "ExperimentPartnerAssignmentId": "1dc6e889-4673-4780-a2e6-90b1a2c28549", "CreatedLocation": true, "AddName": "sample string 4", "AddDate": "2024-12-07T11:04:12.0487514+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-07T11:04:12.0487514+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>c3bbd64a-cdf4-40fe-9111-e5319764e948</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-12-07T11:04:12.0487514+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>1dc6e889-4673-4780-a2e6-90b1a2c28549</ExperimentPartnerAssignmentId> <LastMaintenanceDate>2024-12-07T11:04:12.0487514+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>c862a350-5993-4078-8fcd-8a97d74a6813</LocationId> <LocationPartnerAssignmentId>dc788ef0-8ca7-4ea0-a157-7008c90e2fd5</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>1107a97e-da9e-4fbb-9e8d-980f4156db00</ExperimentId> <ExperimentPartnerAssignment1 /> <ExperimentPartnerAssignment2 i:nil="true" /> <ExperimentPartnerAssignmentId>1dc6e889-4673-4780-a2e6-90b1a2c28549</ExperimentPartnerAssignmentId> <IsExperimentCreator>true</IsExperimentCreator> <LastMaintenanceDate>2024-12-07T11:04:12.0331264+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <LocationPartnerAssignment> <LocationPartnerAssignment z:Ref="i3" /> </LocationPartnerAssignment> <PartnerRoleId>1bc6c9b7-91f4-45b4-be5c-99fbf559dde9</PartnerRoleId> <ShipTo>sample string 8</ShipTo> <ShipToId>b040500a-b292-4e95-9ddd-17fad1aaa078</ShipToId> </ExperimentPartnerAssignment> </ArrayOfExperimentPartnerAssignment>