POST api/inventory/ModifyInventoryList
Request Information
URI Parameters
None.
Body Parameters
InventoryListName | Description | Type | Additional information |
---|---|---|---|
InventoryYear | integer |
None. |
|
InventoryNumber | integer |
None. |
|
ShopID | string |
None. |
|
InventoryListsHeaders | InventoryListsHeaderses |
None. |
Request Formats
application/xml, text/xml
Sample:
<InventoryList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <InventoryYear>1</InventoryYear> <InventoryNumber>1</InventoryNumber> <ShopID>sample string 1</ShopID> <InventoryListsHeaders> <InventoryListsHeader> <ListID>1</ListID> <ClerkID>sample string 2</ClerkID> <PostingDate>2024-11-21T04:56:04.742812+01:00</PostingDate> <Note>sample string 3</Note> <Status>sample string 4</Status> <StatusDate>2024-11-21T04:56:04.742812+01:00</StatusDate> <InsertedBy>sample string 5</InsertedBy> <InsertedTime>2024-11-21T04:56:04.742812+01:00</InsertedTime> <ModifiedBy>sample string 6</ModifiedBy> <ModifiedTime>2024-11-21T04:56:04.742812+01:00</ModifiedTime> <InventoryListsLines> <InventoryListsLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <Series>sample string 4</Series> <QuantityActual>1</QuantityActual> <Error>true</Error> <InsertedBy>sample string 6</InsertedBy> <InsertedTime>2024-11-21T04:56:04.7438106+01:00</InsertedTime> <ModifiedBy>sample string 7</ModifiedBy> <ModifiedTime>2024-11-21T04:56:04.7438106+01:00</ModifiedTime> <AlternateEAN>sample string 8</AlternateEAN> <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment> <AlternateConvertFactor>1</AlternateConvertFactor> <AlternateQuantity>1</AlternateQuantity> </InventoryListsLine> <InventoryListsLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <Series>sample string 4</Series> <QuantityActual>1</QuantityActual> <Error>true</Error> <InsertedBy>sample string 6</InsertedBy> <InsertedTime>2024-11-21T04:56:04.7438106+01:00</InsertedTime> <ModifiedBy>sample string 7</ModifiedBy> <ModifiedTime>2024-11-21T04:56:04.7438106+01:00</ModifiedTime> <AlternateEAN>sample string 8</AlternateEAN> <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment> <AlternateConvertFactor>1</AlternateConvertFactor> <AlternateQuantity>1</AlternateQuantity> </InventoryListsLine> </InventoryListsLines> </InventoryListsHeader> <InventoryListsHeader> <ListID>1</ListID> <ClerkID>sample string 2</ClerkID> <PostingDate>2024-11-21T04:56:04.742812+01:00</PostingDate> <Note>sample string 3</Note> <Status>sample string 4</Status> <StatusDate>2024-11-21T04:56:04.742812+01:00</StatusDate> <InsertedBy>sample string 5</InsertedBy> <InsertedTime>2024-11-21T04:56:04.742812+01:00</InsertedTime> <ModifiedBy>sample string 6</ModifiedBy> <ModifiedTime>2024-11-21T04:56:04.742812+01:00</ModifiedTime> <InventoryListsLines> <InventoryListsLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <Series>sample string 4</Series> <QuantityActual>1</QuantityActual> <Error>true</Error> <InsertedBy>sample string 6</InsertedBy> <InsertedTime>2024-11-21T04:56:04.7438106+01:00</InsertedTime> <ModifiedBy>sample string 7</ModifiedBy> <ModifiedTime>2024-11-21T04:56:04.7438106+01:00</ModifiedTime> <AlternateEAN>sample string 8</AlternateEAN> <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment> <AlternateConvertFactor>1</AlternateConvertFactor> <AlternateQuantity>1</AlternateQuantity> </InventoryListsLine> <InventoryListsLine> <LineNumber>1</LineNumber> <ItemID>sample string 2</ItemID> <ItemIDType>sample string 3</ItemIDType> <Series>sample string 4</Series> <QuantityActual>1</QuantityActual> <Error>true</Error> <InsertedBy>sample string 6</InsertedBy> <InsertedTime>2024-11-21T04:56:04.7438106+01:00</InsertedTime> <ModifiedBy>sample string 7</ModifiedBy> <ModifiedTime>2024-11-21T04:56:04.7438106+01:00</ModifiedTime> <AlternateEAN>sample string 8</AlternateEAN> <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment> <AlternateConvertFactor>1</AlternateConvertFactor> <AlternateQuantity>1</AlternateQuantity> </InventoryListsLine> </InventoryListsLines> </InventoryListsHeader> </InventoryListsHeaders> </InventoryList>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateResultName | Description | Type | Additional information |
---|---|---|---|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <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> </UpdateResult>