POST api/PartSearch/AddPartNumberBatchEntry
Request Information
URI Parameters
None.
Body Parameters
PartGenDTOBySeriesName | Description | Type | Additional information |
---|---|---|---|
RangeIDs | Collection of integer |
None. |
|
SeriesIDs | Collection of RangeSeriesInfoPartGenDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "RangeIDs": [ 1, 2 ], "SeriesIDs": [ { "SeriesID": 1, "RangeID": 2, "SeriesCode": "sample string 3", "Brand": "sample string 4", "ID": 5, "Name": "sample string 6", "Code": "sample string 7", "DefaultBrandID": 1, "SuffixSelectionAllowed": true, "ProductCode": "sample string 9", "ProductTypeCode": "sample string 10" }, { "SeriesID": 1, "RangeID": 2, "SeriesCode": "sample string 3", "Brand": "sample string 4", "ID": 5, "Name": "sample string 6", "Code": "sample string 7", "DefaultBrandID": 1, "SuffixSelectionAllowed": true, "ProductCode": "sample string 9", "ProductTypeCode": "sample string 10" } ] }
application/xml, text/xml
Sample:
<PartGenDTOBySeries xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KC.Tools.DTO"> <RangeIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </RangeIDs> <SeriesIDs> <RangeSeriesInfoPartGenDTO> <Code>sample string 7</Code> <DefaultBrandID>1</DefaultBrandID> <ID>5</ID> <Name>sample string 6</Name> <ProductCode>sample string 9</ProductCode> <ProductTypeCode>sample string 10</ProductTypeCode> <SuffixSelectionAllowed>true</SuffixSelectionAllowed> <Brand>sample string 4</Brand> <RangeID>2</RangeID> <SeriesCode>sample string 3</SeriesCode> <SeriesID>1</SeriesID> </RangeSeriesInfoPartGenDTO> <RangeSeriesInfoPartGenDTO> <Code>sample string 7</Code> <DefaultBrandID>1</DefaultBrandID> <ID>5</ID> <Name>sample string 6</Name> <ProductCode>sample string 9</ProductCode> <ProductTypeCode>sample string 10</ProductTypeCode> <SuffixSelectionAllowed>true</SuffixSelectionAllowed> <Brand>sample string 4</Brand> <RangeID>2</RangeID> <SeriesCode>sample string 3</SeriesCode> <SeriesID>1</SeriesID> </RangeSeriesInfoPartGenDTO> </SeriesIDs> </PartGenDTOBySeries>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.