POST api/GetInventoryList
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
InventoryResponseListName | Description | Type | Additional information |
---|---|---|---|
ItemList | Collection of InventoryResponse |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "itemList": [ { "idInventoryState": 1, "inventoryState": "sample string 2", "idInventoryType": 3, "inventoryType": "sample string 4", "idUserProfileCreation": 5, "userProfileCreation": "sample string 6", "idUserProfileClosing": 7, "userProfileClosing": "sample string 8", "creationDate": "2024-11-30T23:41:06.2598205-05:00", "closingDate": "2024-11-30T23:41:06.2598205-05:00", "idClient": 11, "client": "sample string 12", "id": 13, "name": "sample string 14", "description": "sample string 15", "code": 16, "isEnabled": true, "isInUse": true, "resultCode": 19, "resultMessage": "sample string 20", "errorMessage": "sample string 21" }, { "idInventoryState": 1, "inventoryState": "sample string 2", "idInventoryType": 3, "inventoryType": "sample string 4", "idUserProfileCreation": 5, "userProfileCreation": "sample string 6", "idUserProfileClosing": 7, "userProfileClosing": "sample string 8", "creationDate": "2024-11-30T23:41:06.2598205-05:00", "closingDate": "2024-11-30T23:41:06.2598205-05:00", "idClient": 11, "client": "sample string 12", "id": 13, "name": "sample string 14", "description": "sample string 15", "code": 16, "isEnabled": true, "isInUse": true, "resultCode": 19, "resultMessage": "sample string 20", "errorMessage": "sample string 21" } ], "resultCode": 1, "resultMessage": "sample string 2", "errorMessage": "sample string 3" }
application/xml, text/xml
Sample:
<InventoryResponseList 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 3</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">1</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 2</ResultMessage> <ItemList> <InventoryResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 21</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">19</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 20</ResultMessage> <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">16</Code> <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 15</Description> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">13</Id> <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 14</Name> <Client>sample string 12</Client> <ClosingDate>2024-11-30T23:41:06.2598205-05:00</ClosingDate> <CreationDate>2024-11-30T23:41:06.2598205-05:00</CreationDate> <IdClient>11</IdClient> <IdInventoryState>1</IdInventoryState> <IdInventoryType>3</IdInventoryType> <IdUserProfileClosing>7</IdUserProfileClosing> <IdUserProfileCreation>5</IdUserProfileCreation> <InventoryState>sample string 2</InventoryState> <InventoryType>sample string 4</InventoryType> <UserProfileClosing>sample string 8</UserProfileClosing> <UserProfileCreation>sample string 6</UserProfileCreation> </InventoryResponse> <InventoryResponse> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 21</ErrorMessage> <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">19</ResultCode> <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 20</ResultMessage> <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">16</Code> <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 15</Description> <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">13</Id> <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled> <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse> <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 14</Name> <Client>sample string 12</Client> <ClosingDate>2024-11-30T23:41:06.2598205-05:00</ClosingDate> <CreationDate>2024-11-30T23:41:06.2598205-05:00</CreationDate> <IdClient>11</IdClient> <IdInventoryState>1</IdInventoryState> <IdInventoryType>3</IdInventoryType> <IdUserProfileClosing>7</IdUserProfileClosing> <IdUserProfileCreation>5</IdUserProfileCreation> <InventoryState>sample string 2</InventoryState> <InventoryType>sample string 4</InventoryType> <UserProfileClosing>sample string 8</UserProfileClosing> <UserProfileCreation>sample string 6</UserProfileCreation> </InventoryResponse> </ItemList> </InventoryResponseList>