POST LocationStrip/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
Collection of LocationStripName | Description | Type | Additional information |
---|---|---|---|
LocationStripId | globally unique identifier |
None. |
|
LocationId | globally unique identifier |
None. |
|
GEId | decimal number |
None. |
|
BrandId | decimal number |
None. |
|
SubProductCode | string |
None. |
|
XCoord | integer |
None. |
|
NonHarvestQuality | integer |
None. |
|
HarvestQuality | integer |
None. |
|
EUId | integer |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
ExperimentLocationId | globally unique identifier |
None. |
|
YMLoadName | string |
None. |
|
YMQuality | integer |
None. |
|
Location | Location |
None. |
|
LocationStripComment | Collection of LocationStripComment |
None. |
|
LocationStripTrait | Collection of LocationStripTrait |
None. |
|
LocationStripASCTrait | Collection of LocationStripASCTrait |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Request Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "LocationStripId": "43bd6fdd-480f-4665-9f49-e356699cadb2", "LocationId": "9000c9ff-b1e8-4c77-8609-21cce0407fb9", "GEId": 3.0, "BrandId": 4.0, "SubProductCode": "sample string 5", "XCoord": 1, "NonHarvestQuality": 1, "HarvestQuality": 1, "EUId": 1, "AddName": "sample string 6", "AddDate": "2024-12-10T16:30:12.1967091+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2024-12-10T16:30:12.1967091+00:00", "ExperimentLocationId": "ca3ea869-be5a-4f58-9a9c-59e503681117", "YMLoadName": "sample string 10", "YMQuality": 1, "LocationStripComment": [ { "$id": "2", "LocationStripCommentId": "9aba00ee-f765-4bff-b444-c386c10da64e", "LocationStripId": "43bd6fdd-480f-4665-9f49-e356699cadb2", "CommentCategory": 1, "Comment": "sample string 3", "AddName": "sample string 4", "AddDate": "2024-12-10T16:30:12.2269695+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-10T16:30:12.2269695+00:00", "LocationStrip": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "LocationStripTrait": [], "LocationStripASCTrait": [], "ChangeTracker": { "$id": "4", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "LocationStripComment": [ { "$ref": "2" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfLocationStrip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <LocationStrip i:nil="true" /> <LocationStrip z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <AddDate>2024-12-10T16:30:12.1967091+00:00</AddDate> <AddName>sample string 6</AddName> <BrandId>4</BrandId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>LocationStripComment</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="LocationStripComment"> <AddDate>2024-12-10T16:30:12.2269695+00:00</AddDate> <AddName>sample string 4</AddName> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Comment>sample string 3</Comment> <CommentCategory>1</CommentCategory> <LastMaintenanceDate>2024-12-10T16:30:12.2269695+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <LocationStrip z:Ref="i1" /> <LocationStripCommentId>9aba00ee-f765-4bff-b444-c386c10da64e</LocationStripCommentId> <LocationStripId>43bd6fdd-480f-4665-9f49-e356699cadb2</LocationStripId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <EUId>1</EUId> <ExperimentLocationId>ca3ea869-be5a-4f58-9a9c-59e503681117</ExperimentLocationId> <GEId>3</GEId> <HarvestQuality>1</HarvestQuality> <LastMaintenanceDate>2024-12-10T16:30:12.1967091+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 8</LastMaintenanceName> <Location i:nil="true" /> <LocationId>9000c9ff-b1e8-4c77-8609-21cce0407fb9</LocationId> <LocationStripASCTrait /> <LocationStripComment> <LocationStripComment z:Ref="i3" /> </LocationStripComment> <LocationStripId>43bd6fdd-480f-4665-9f49-e356699cadb2</LocationStripId> <LocationStripTrait /> <NonHarvestQuality>1</NonHarvestQuality> <SubProductCode>sample string 5</SubProductCode> <XCoord>1</XCoord> <YMLoadName>sample string 10</YMLoadName> <YMQuality>1</YMQuality> </LocationStrip> </ArrayOfLocationStrip>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of LocationStripName | Description | Type | Additional information |
---|---|---|---|
LocationStripId | globally unique identifier |
None. |
|
LocationId | globally unique identifier |
None. |
|
GEId | decimal number |
None. |
|
BrandId | decimal number |
None. |
|
SubProductCode | string |
None. |
|
XCoord | integer |
None. |
|
NonHarvestQuality | integer |
None. |
|
HarvestQuality | integer |
None. |
|
EUId | integer |
None. |
|
AddName | string |
None. |
|
AddDate | date |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
ExperimentLocationId | globally unique identifier |
None. |
|
YMLoadName | string |
None. |
|
YMQuality | integer |
None. |
|
Location | Location |
None. |
|
LocationStripComment | Collection of LocationStripComment |
None. |
|
LocationStripTrait | Collection of LocationStripTrait |
None. |
|
LocationStripASCTrait | Collection of LocationStripASCTrait |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ null, { "$id": "1", "LocationStripId": "04d6e86c-e463-4d27-991a-4ab22eb98a68", "LocationId": "310680ea-0737-4a02-875d-4844462bc96a", "GEId": 3.0, "BrandId": 4.0, "SubProductCode": "sample string 5", "XCoord": 1, "NonHarvestQuality": 1, "HarvestQuality": 1, "EUId": 1, "AddName": "sample string 6", "AddDate": "2024-12-10T16:30:12.2570661+00:00", "LastMaintenanceName": "sample string 8", "LastMaintenanceDate": "2024-12-10T16:30:12.2570661+00:00", "ExperimentLocationId": "5f618911-a76f-40cf-9ce4-dcc1ac9ac09c", "YMLoadName": "sample string 10", "YMQuality": 1, "LocationStripComment": [ { "$id": "2", "LocationStripCommentId": "0c9aa38b-cd81-478b-931a-67ef00e7b4ff", "LocationStripId": "04d6e86c-e463-4d27-991a-4ab22eb98a68", "CommentCategory": 1, "Comment": "sample string 3", "AddName": "sample string 4", "AddDate": "2024-12-10T16:30:12.2570661+00:00", "LastMaintenanceName": "sample string 6", "LastMaintenanceDate": "2024-12-10T16:30:12.2570661+00:00", "LocationStrip": { "$ref": "1" }, "ChangeTracker": { "$id": "3", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } } ], "LocationStripTrait": [], "LocationStripASCTrait": [], "ChangeTracker": { "$id": "4", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": { "LocationStripComment": [ { "$ref": "2" } ] } } } ]
application/xml, text/xml
Sample:
<ArrayOfLocationStrip xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <LocationStrip i:nil="true" /> <LocationStrip z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <AddDate>2024-12-10T16:30:12.2570661+00:00</AddDate> <AddName>sample string 6</AddName> <BrandId>4</BrandId> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties> <AddedObjectsForProperty> <CollectionPropertyName>LocationStripComment</CollectionPropertyName> <AddedObjects> <ObjectValue z:Id="i3" i:type="LocationStripComment"> <AddDate>2024-12-10T16:30:12.2570661+00:00</AddDate> <AddName>sample string 4</AddName> <ChangeTracker z:Id="i4"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <Comment>sample string 3</Comment> <CommentCategory>1</CommentCategory> <LastMaintenanceDate>2024-12-10T16:30:12.2570661+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 6</LastMaintenanceName> <LocationStrip z:Ref="i1" /> <LocationStripCommentId>0c9aa38b-cd81-478b-931a-67ef00e7b4ff</LocationStripCommentId> <LocationStripId>04d6e86c-e463-4d27-991a-4ab22eb98a68</LocationStripId> </ObjectValue> </AddedObjects> </AddedObjectsForProperty> </ObjectsAddedToCollectionProperties> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <EUId>1</EUId> <ExperimentLocationId>5f618911-a76f-40cf-9ce4-dcc1ac9ac09c</ExperimentLocationId> <GEId>3</GEId> <HarvestQuality>1</HarvestQuality> <LastMaintenanceDate>2024-12-10T16:30:12.2570661+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 8</LastMaintenanceName> <Location i:nil="true" /> <LocationId>310680ea-0737-4a02-875d-4844462bc96a</LocationId> <LocationStripASCTrait /> <LocationStripComment> <LocationStripComment z:Ref="i3" /> </LocationStripComment> <LocationStripId>04d6e86c-e463-4d27-991a-4ab22eb98a68</LocationStripId> <LocationStripTrait /> <NonHarvestQuality>1</NonHarvestQuality> <SubProductCode>sample string 5</SubProductCode> <XCoord>1</XCoord> <YMLoadName>sample string 10</YMLoadName> <YMQuality>1</YMQuality> </LocationStrip> </ArrayOfLocationStrip>