POST TraitTrials/Base/Delete
Request Information
URI Parameters
None.
Body Parameters
TraitTrialsName | Description | Type | Additional information |
---|---|---|---|
TraitId | integer |
None. |
|
CropCode | string |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
UnitOfMeasureId | integer |
None. |
|
LowerBound | decimal number |
None. |
|
UpperBound | decimal number |
None. |
|
ValueSetId | integer |
None. |
|
ValueSetType | string |
None. |
|
LastMaintenanceName | string |
None. |
|
LastMaintenanceDate | date |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Request Formats
application/json, text/json
Sample:
{ "TraitId": 1, "CropCode": "sample string 2", "Name": "sample string 3", "Description": "sample string 4", "UnitOfMeasureId": 5, "LowerBound": 1.1, "UpperBound": 1.1, "ValueSetId": 1, "ValueSetType": "sample string 6", "LastMaintenanceName": "sample string 7", "LastMaintenanceDate": "2024-12-12T03:11:41.8366577+00:00", "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }
application/xml, text/xml
Sample:
<TraitTrials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <CropCode>sample string 2</CropCode> <Description>sample string 4</Description> <LastMaintenanceDate>2024-12-12T03:11:41.8366577+00:00</LastMaintenanceDate> <LastMaintenanceName>sample string 7</LastMaintenanceName> <LowerBound>1.1</LowerBound> <Name>sample string 3</Name> <TraitId>1</TraitId> <UnitOfMeasureId>5</UnitOfMeasureId> <UpperBound>1.1</UpperBound> <ValueSetId>1</ValueSetId> <ValueSetType>sample string 6</ValueSetType> </TraitTrials>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.