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": "83d5ad5d-fdae-45c0-9c46-39501677de14", "ExperimentId": "bf762484-1878-4124-b11c-8a323780422a", "PartnerRoleId": "78a03c7d-5fee-47a0-a21d-924950a5c21f", "AssignmentId": 4, "AssignedNumberOfLocations": 1, "IsExperimentCreator": true, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-09-12T18:13:21.89574+00:00", "AssignedByPartnerRoleId": "da4bf55f-5a89-49c3-9281-f45004c57c43", "ShipTo": "sample string 8", "ShipToId": "18af7e14-32f4-40ff-a500-1e84af3ed838", "LocationPartnerAssignment": [ { "$id": "2", "LocationPartnerAssignmentId": "0cb120bc-e9ef-44e5-813f-7a41de324a5b", "LocationId": "7738f015-20b2-481e-b573-a94725eeec00", "ExperimentPartnerAssignmentId": "83d5ad5d-fdae-45c0-9c46-39501677de14", "CreatedLocation": true, "AddName": "sample string 4", "AddDate": "2024-09-12T18:13:21.9089814+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-09-12T18:13:21.9089814+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>da4bf55f-5a89-49c3-9281-f45004c57c43</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-12T18:13:21.9089814+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>83d5ad5d-fdae-45c0-9c46-39501677de14</ExperimentPartnerAssignmentId> <LastMaintenanceDate>2024-09-12T18:13:21.9089814+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>7738f015-20b2-481e-b573-a94725eeec00</LocationId> <LocationPartnerAssignmentId>0cb120bc-e9ef-44e5-813f-7a41de324a5b</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>bf762484-1878-4124-b11c-8a323780422a</ExperimentId> <ExperimentPartnerAssignment1 /> <ExperimentPartnerAssignment2 i:nil="true" /> <ExperimentPartnerAssignmentId>83d5ad5d-fdae-45c0-9c46-39501677de14</ExperimentPartnerAssignmentId> <IsExperimentCreator>true</IsExperimentCreator> <LastMaintenanceDate>2024-09-12T18:13:21.89574+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <LocationPartnerAssignment> <LocationPartnerAssignment z:Ref="i3" /> </LocationPartnerAssignment> <PartnerRoleId>78a03c7d-5fee-47a0-a21d-924950a5c21f</PartnerRoleId> <ShipTo>sample string 8</ShipTo> <ShipToId>18af7e14-32f4-40ff-a500-1e84af3ed838</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": "d6c57fd6-b1e2-473a-a06d-7dccd009e308", "ExperimentId": "912d3cab-1ace-44aa-9ffc-5796233b805a", "PartnerRoleId": "4ce439f0-e524-4f26-a764-7bdd4db1d6f6", "AssignmentId": 4, "AssignedNumberOfLocations": 1, "IsExperimentCreator": true, "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-09-12T18:13:21.9246078+00:00", "AssignedByPartnerRoleId": "e1d11e92-ff14-4f8c-8df5-1c2fb4bcd123", "ShipTo": "sample string 8", "ShipToId": "c903ed67-a908-4877-939f-b5df83da262f", "LocationPartnerAssignment": [ { "$id": "2", "LocationPartnerAssignmentId": "511e4fad-0917-45c6-b340-02773d7dbd61", "LocationId": "239c2e2d-a972-4983-b8ff-fccfaaf4486d", "ExperimentPartnerAssignmentId": "d6c57fd6-b1e2-473a-a06d-7dccd009e308", "CreatedLocation": true, "AddName": "sample string 4", "AddDate": "2024-09-12T18:13:21.9434918+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-09-12T18:13:21.9434918+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>e1d11e92-ff14-4f8c-8df5-1c2fb4bcd123</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-12T18:13:21.9434918+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>d6c57fd6-b1e2-473a-a06d-7dccd009e308</ExperimentPartnerAssignmentId> <LastMaintenanceDate>2024-09-12T18:13:21.9434918+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <Location i:nil="true" /> <LocationId>239c2e2d-a972-4983-b8ff-fccfaaf4486d</LocationId> <LocationPartnerAssignmentId>511e4fad-0917-45c6-b340-02773d7dbd61</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>912d3cab-1ace-44aa-9ffc-5796233b805a</ExperimentId> <ExperimentPartnerAssignment1 /> <ExperimentPartnerAssignment2 i:nil="true" /> <ExperimentPartnerAssignmentId>d6c57fd6-b1e2-473a-a06d-7dccd009e308</ExperimentPartnerAssignmentId> <IsExperimentCreator>true</IsExperimentCreator> <LastMaintenanceDate>2024-09-12T18:13:21.9246078+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <LocationPartnerAssignment> <LocationPartnerAssignment z:Ref="i3" /> </LocationPartnerAssignment> <PartnerRoleId>4ce439f0-e524-4f26-a764-7bdd4db1d6f6</PartnerRoleId> <ShipTo>sample string 8</ShipTo> <ShipToId>c903ed67-a908-4877-939f-b5df83da262f</ShipToId> </ExperimentPartnerAssignment> </ArrayOfExperimentPartnerAssignment>