POST ExperimentPartnerAssignment/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "ExperimentPartnerAssignmentId": "969b4b52-b78f-471b-b934-0b35fcb1e324", "ExperimentId": "82b1756b-bb44-41b7-81d8-d07c7653646d", "PartnerRoleId": "e7cd86bd-e8f5-4917-9a14-e3f40a25990d", "AssignmentId": 4, "AssignedNumberOfLocations": 1, "IsExperimentCreator": true, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-08T16:13:31.2419103+00:00", "AssignedByPartnerRoleId": "976c231f-043b-4b89-973f-09f729b657f2", "ShipTo": "sample string 8", "ShipToId": "64c5093c-cb65-4ad3-969a-56f1a59667af", "LocationPartnerAssignment": [ { "$id": "2", "LocationPartnerAssignmentId": "5ebb9fde-c881-403a-a46e-af7f27027381", "LocationId": "a72dc434-f9ec-43f2-9d7b-3aefc58bb36d", "ExperimentPartnerAssignmentId": "969b4b52-b78f-471b-b934-0b35fcb1e324", "CreatedLocation": true, "AddName": "sample string 4", "AddDate": "2024-12-08T16:13:31.2419103+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-08T16:13:31.2419103+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>976c231f-043b-4b89-973f-09f729b657f2</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-08T16:13:31.2419103+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>969b4b52-b78f-471b-b934-0b35fcb1e324</ExperimentPartnerAssignmentId> <LastMaintenanceDate>2024-12-08T16:13:31.2419103+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>a72dc434-f9ec-43f2-9d7b-3aefc58bb36d</LocationId> <LocationPartnerAssignmentId>5ebb9fde-c881-403a-a46e-af7f27027381</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>82b1756b-bb44-41b7-81d8-d07c7653646d</ExperimentId> <ExperimentPartnerAssignment1 /> <ExperimentPartnerAssignment2 i:nil="true" /> <ExperimentPartnerAssignmentId>969b4b52-b78f-471b-b934-0b35fcb1e324</ExperimentPartnerAssignmentId> <IsExperimentCreator>true</IsExperimentCreator> <LastMaintenanceDate>2024-12-08T16:13:31.2419103+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <LocationPartnerAssignment> <LocationPartnerAssignment z:Ref="i3" /> </LocationPartnerAssignment> <PartnerRoleId>e7cd86bd-e8f5-4917-9a14-e3f40a25990d</PartnerRoleId> <ShipTo>sample string 8</ShipTo> <ShipToId>64c5093c-cb65-4ad3-969a-56f1a59667af</ShipToId> </ExperimentPartnerAssignment> </ArrayOfExperimentPartnerAssignment>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "5a9b38f1-2245-41a3-ad67-96ba610db58b", "ExperimentId": "01135544-b457-4210-aaf3-9e5054b87d74", "PartnerRoleId": "75629d8d-194c-4a8f-95e1-eda88164b992", "AssignmentId": 4, "AssignedNumberOfLocations": 1, "IsExperimentCreator": true, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-08T16:13:31.2626817+00:00", "AssignedByPartnerRoleId": "3fb4a879-0c72-42ce-b17b-294f5c0be7ea", "ShipTo": "sample string 8", "ShipToId": "36ec4df4-a5cf-4213-9fd5-9830ce0c2e9f", "LocationPartnerAssignment": [ { "$id": "2", "LocationPartnerAssignmentId": "fac31571-2344-4663-bf06-4ee2109faf6b", "LocationId": "e28f3520-8765-4e73-b1b2-9df627972b75", "ExperimentPartnerAssignmentId": "5a9b38f1-2245-41a3-ad67-96ba610db58b", "CreatedLocation": true, "AddName": "sample string 4", "AddDate": "2024-12-08T16:13:31.2731731+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-08T16:13:31.2731731+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>3fb4a879-0c72-42ce-b17b-294f5c0be7ea</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-08T16:13:31.2731731+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>5a9b38f1-2245-41a3-ad67-96ba610db58b</ExperimentPartnerAssignmentId> <LastMaintenanceDate>2024-12-08T16:13:31.2731731+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>e28f3520-8765-4e73-b1b2-9df627972b75</LocationId> <LocationPartnerAssignmentId>fac31571-2344-4663-bf06-4ee2109faf6b</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>01135544-b457-4210-aaf3-9e5054b87d74</ExperimentId> <ExperimentPartnerAssignment1 /> <ExperimentPartnerAssignment2 i:nil="true" /> <ExperimentPartnerAssignmentId>5a9b38f1-2245-41a3-ad67-96ba610db58b</ExperimentPartnerAssignmentId> <IsExperimentCreator>true</IsExperimentCreator> <LastMaintenanceDate>2024-12-08T16:13:31.2626817+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <LocationPartnerAssignment> <LocationPartnerAssignment z:Ref="i3" /> </LocationPartnerAssignment> <PartnerRoleId>75629d8d-194c-4a8f-95e1-eda88164b992</PartnerRoleId> <ShipTo>sample string 8</ShipTo> <ShipToId>36ec4df4-a5cf-4213-9fd5-9830ce0c2e9f</ShipToId> </ExperimentPartnerAssignment> </ArrayOfExperimentPartnerAssignment>