POST api/GetLastInventoryByUser
Request Information
URI Parameters
None.
Body Parameters
RequestName | Description | Type | Additional information |
---|---|---|---|
User | string |
None. |
|
UserId | integer |
None. |
|
ValidationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "user": "sample string 1", "userId": 2, "validationKey": "sample string 3" }
application/xml, text/xml
Sample:
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request"> <User>sample string 1</User> <UserId>2</UserId> <ValidationKey>sample string 3</ValidationKey> </Request>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
InventoryDetailedReportResponseName | Description | Type | Additional information |
---|---|---|---|
MovementId | integer |
None. |
|
Inventory | string |
None. |
|
Reference | string |
None. |
|
BarCode | string |
None. |
|
Position | string |
None. |
|
Quantity | integer |
None. |
|
CreationDate | date |
None. |
|
UserName | string |
None. |
|
ProductSubGroup | string |
None. |
|
ProductGroup | string |
None. |
|
Brand | string |
None. |
|
Model | string |
None. |
|
Description | string |
None. |
|
Ancho | decimal number |
None. |
|
Metros | decimal number |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "movementId": 1, "inventory": "sample string 2", "reference": "sample string 3", "barCode": "sample string 4", "position": "sample string 5", "quantity": 6, "creationDate": "2024-12-01T00:00:07.7587935-05:00", "userName": "sample string 8", "productSubGroup": "sample string 9", "productGroup": "sample string 10", "brand": "sample string 11", "model": "sample string 12", "description": "sample string 13", "ancho": 14.0, "metros": 15.0, "resultCode": 16, "resultMessage": "sample string 17", "errorMessage": "sample string 18" }
application/xml, text/xml
Sample:
<InventoryDetailedReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Inventory"> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 18</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">16</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 17</ResultMessage> <Ancho>14</Ancho> <BarCode>sample string 4</BarCode> <Brand>sample string 11</Brand> <CreationDate>2024-12-01T00:00:07.7587935-05:00</CreationDate> <Description>sample string 13</Description> <Inventory>sample string 2</Inventory> <Metros>15</Metros> <Model>sample string 12</Model> <MovementId>1</MovementId> <Position>sample string 5</Position> <ProductGroup>sample string 10</ProductGroup> <ProductSubGroup>sample string 9</ProductSubGroup> <Quantity>6</Quantity> <Reference>sample string 3</Reference> <UserName>sample string 8</UserName> </InventoryDetailedReportResponse>