POST api/Features/RepeatLineItem
creates a new line item from the existing line, and copies all features to the newly created line item
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
saveRequest | values for the line item being repeated |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "ProductDescription": "sample string 1", "ID": "sample string 2", "UserID": "sample string 3", "HasErrors": true, "HostData": "sample string 5", "Qty": 6, "Designation": "sample string 7", "ProductID": "sample string 8", "SolutionData": "sample string 9", "SolutionDataLegacyXML": "sample string 10", "SolutionDataLegacy": "sample string 11", "Title": "sample string 12", "RelatedID": "sample string 13", "SessionType": "sample string 14", "LineNumber": "sample string 15" }
application/xml, text/xml
Sample:
<Session xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ProductDescription>sample string 1</ProductDescription> <ID>sample string 2</ID> <UserID>sample string 3</UserID> <HasErrors>true</HasErrors> <HostData>sample string 5</HostData> <Qty>6</Qty> <Designation>sample string 7</Designation> <ProductID>sample string 8</ProductID> <SolutionData>sample string 9</SolutionData> <SolutionDataLegacyXML>sample string 10</SolutionDataLegacyXML> <SolutionDataLegacy>sample string 11</SolutionDataLegacy> <Title>sample string 12</Title> <RelatedID>sample string 13</RelatedID> <SessionType>sample string 14</SessionType> <LineNumber>sample string 15</LineNumber> </Session>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
the updated host data
Response body formats
application/json, text/json
Sample:
{ "HostData": "sample string 1", "Title": "sample string 2" }
application/xml, text/xml
Sample:
<LineItemHostData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HostData>sample string 1</HostData> <Title>sample string 2</Title> </LineItemHostData>