POST api/Item/AddItemSeries
Request Information
URI Parameters
None.
Body Parameters
ItemsSeriesName | Description | Type | Additional information |
---|---|---|---|
ItemSeries | Collection of ItemSeries |
None. |
Request Formats
application/xml, text/xml
Sample:
<ItemsSeries xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ItemSeries> <ItemID>sample string 1</ItemID> <SeriesID>sample string 2</SeriesID> <SeriesDescription>sample string 3</SeriesDescription> <BestBefore>2024-11-21T15:09:51.1249541+01:00</BestBefore> <ManufacturingDate>2024-11-21T15:09:51.1249541+01:00</ManufacturingDate> <Quarantine>true</Quarantine> <PercentageOfPurity>1</PercentageOfPurity> <SampleSuitability>sample string 4</SampleSuitability> <AnalysisDate>2024-11-21T15:09:51.1249541+01:00</AnalysisDate> <AttachmentID>sample string 5</AttachmentID> <Comment>sample string 6</Comment> <InsUpdDate>2024-11-21T15:09:51.1249541+01:00</InsUpdDate> </ItemSeries> <ItemSeries> <ItemID>sample string 1</ItemID> <SeriesID>sample string 2</SeriesID> <SeriesDescription>sample string 3</SeriesDescription> <BestBefore>2024-11-21T15:09:51.1249541+01:00</BestBefore> <ManufacturingDate>2024-11-21T15:09:51.1249541+01:00</ManufacturingDate> <Quarantine>true</Quarantine> <PercentageOfPurity>1</PercentageOfPurity> <SampleSuitability>sample string 4</SampleSuitability> <AnalysisDate>2024-11-21T15:09:51.1249541+01:00</AnalysisDate> <AttachmentID>sample string 5</AttachmentID> <Comment>sample string 6</Comment> <InsUpdDate>2024-11-21T15:09:51.1249541+01:00</InsUpdDate> </ItemSeries> </ItemsSeries>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>