POST Protocol/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
Collection of ProtocolName | Description | Type | Additional information |
---|---|---|---|
ProtocolId | globally unique identifier |
None. |
|
ExperimentId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Subtitle | string |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
IsUploaded | boolean |
None. |
|
IsTDEProtocol | boolean |
None. |
|
Experiment | Experiment |
None. |
|
ProtocolVersion | Collection of ProtocolVersion |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Request Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "ProtocolId": "3c63f41f-1a29-4193-aaaa-16e79596bf6e", "ExperimentId": "f1ccd571-f82f-44c2-b995-d771e4503eec", "Name": "sample string 8", "Subtitle": "sample string 9", "LastMaintenanceName": "sample string 10", "LastMaintenanceDate": "2024-12-10T08:22:18.020215+00:00", "IsUploaded": true, "IsTDEProtocol": true, "ProtocolVersion": [ { "$id": "2", "ProtocolId": "3c63f41f-1a29-4193-aaaa-16e79596bf6e", "Version": 2, "FileName": "sample string 3", "Document": "QEA=", "LastMaintenanceName": "sample string 4", "LastMaintenanceDate": "2024-12-10T08:22:18.0681557+00:00", "Protocol": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "ChangeTracker": { "$id": "4", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "ProtocolVersion": [ { "$ref": "2" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfProtocol xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <Protocol i:nil="true" /> <Protocol z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ProtocolVersion</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="ProtocolVersion"> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Document>QEA=</Document> <FileName>sample string 3</FileName> <LastMaintenanceDate>2024-12-10T08:22:18.0681557+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 4</LastMaintenanceName> <Protocol z:Ref="i1" /> <ProtocolId>3c63f41f-1a29-4193-aaaa-16e79596bf6e</ProtocolId> <Version>2</Version> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Experiment i:nil="true" /> <ExperimentId>f1ccd571-f82f-44c2-b995-d771e4503eec</ExperimentId> <IsTDEProtocol>true</IsTDEProtocol> <IsUploaded>true</IsUploaded> <LastMaintenanceDate>2024-12-10T08:22:18.020215+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 10</LastMaintenanceName> <Name>sample string 8</Name> <ProtocolId>3c63f41f-1a29-4193-aaaa-16e79596bf6e</ProtocolId> <ProtocolVersion> <ProtocolVersion z:Ref="i3" /> </ProtocolVersion> <Subtitle>sample string 9</Subtitle> </Protocol> </ArrayOfProtocol>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ProtocolName | Description | Type | Additional information |
---|---|---|---|
ProtocolId | globally unique identifier |
None. |
|
ExperimentId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Subtitle | string |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
IsUploaded | boolean |
None. |
|
IsTDEProtocol | boolean |
None. |
|
Experiment | Experiment |
None. |
|
ProtocolVersion | Collection of ProtocolVersion |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "ProtocolId": "636419dc-d1c4-4397-a59a-2603c055f1c4", "ExperimentId": "3754dcc6-6914-4e1c-ab90-436261bc3b14", "Name": "sample string 8", "Subtitle": "sample string 9", "LastMaintenanceName": "sample string 10", "LastMaintenanceDate": "2024-12-10T08:22:18.0994047+00:00", "IsUploaded": true, "IsTDEProtocol": true, "ProtocolVersion": [ { "$id": "2", "ProtocolId": "636419dc-d1c4-4397-a59a-2603c055f1c4", "Version": 2, "FileName": "sample string 3", "Document": "QEA=", "LastMaintenanceName": "sample string 4", "LastMaintenanceDate": "2024-12-10T08:22:18.1150308+00:00", "Protocol": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "ChangeTracker": { "$id": "4", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "ProtocolVersion": [ { "$ref": "2" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfProtocol xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <Protocol i:nil="true" /> <Protocol z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>ProtocolVersion</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="ProtocolVersion"> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Document>QEA=</Document> <FileName>sample string 3</FileName> <LastMaintenanceDate>2024-12-10T08:22:18.1150308+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 4</LastMaintenanceName> <Protocol z:Ref="i1" /> <ProtocolId>636419dc-d1c4-4397-a59a-2603c055f1c4</ProtocolId> <Version>2</Version> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Experiment i:nil="true" /> <ExperimentId>3754dcc6-6914-4e1c-ab90-436261bc3b14</ExperimentId> <IsTDEProtocol>true</IsTDEProtocol> <IsUploaded>true</IsUploaded> <LastMaintenanceDate>2024-12-10T08:22:18.0994047+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 10</LastMaintenanceName> <Name>sample string 8</Name> <ProtocolId>636419dc-d1c4-4397-a59a-2603c055f1c4</ProtocolId> <ProtocolVersion> <ProtocolVersion z:Ref="i3" /> </ProtocolVersion> <Subtitle>sample string 9</Subtitle> </Protocol> </ArrayOfProtocol>