POST api/GetInventory
Request Information
URI Parameters
None.
Body Parameters
RequestEnhanceName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
User | string |
None. |
|
UserId | integer |
None. |
|
ValidationKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "user": "sample string 2", "userId": 3, "validationKey": "sample string 4" }
application/xml, text/xml
Sample:
<RequestEnhance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request"> <User>sample string 2</User> <UserId>3</UserId> <ValidationKey>sample string 4</ValidationKey> <Id>1</Id> </RequestEnhance>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
InventoryResponseName | Description | Type | Additional information |
---|---|---|---|
IdInventoryState | integer |
None. |
|
InventoryState | string |
None. |
|
IdInventoryType | integer |
None. |
|
InventoryType | string |
None. |
|
IdUserProfileCreation | integer |
None. |
|
UserProfileCreation | string |
None. |
|
IdUserProfileClosing | integer |
None. |
|
UserProfileClosing | string |
None. |
|
CreationDate | date |
None. |
|
ClosingDate | date |
None. |
|
IdClient | integer |
None. |
|
Client | string |
None. |
|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Code | integer |
None. |
|
IsEnabled | boolean |
None. |
|
IsInUse | boolean |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "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:49:27.5920958-05:00", "closingDate": "2024-11-30T23:49:27.5920958-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" }
application/xml, text/xml
Sample:
<InventoryResponse 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 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:49:27.5920958-05:00</ClosingDate> <CreationDate>2024-11-30T23:49:27.5920958-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>