POST api/GetInventoryAdvanceByUser

Request Information

URI Parameters

None.

Body Parameters

RequestExtended
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

IsEnabled

boolean

None.

User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "description": "sample string 3",
  "isEnabled": true,
  "user": "sample string 5",
  "userId": 6,
  "validationKey": "sample string 7"
}

application/xml, text/xml

Sample:
<RequestExtended xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">
  <User>sample string 5</User>
  <UserId>6</UserId>
  <ValidationKey>sample string 7</ValidationKey>
  <Description>sample string 3</Description>
  <Id>1</Id>
  <IsEnabled>true</IsEnabled>
  <Name>sample string 2</Name>
</RequestExtended>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RequestExtended'.

Response Information

Resource Description

InventoryMovementMovilResponseList
NameDescriptionTypeAdditional information
ItemList

Collection of InventoryMovementMovilResponse

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "itemList": [
    {
      "inventory": "sample string 1",
      "product": "sample string 2",
      "positionSubIndex": "sample string 3",
      "quantity": 4,
      "resultCode": 5,
      "resultMessage": "sample string 6",
      "errorMessage": "sample string 7"
    },
    {
      "inventory": "sample string 1",
      "product": "sample string 2",
      "positionSubIndex": "sample string 3",
      "quantity": 4,
      "resultCode": 5,
      "resultMessage": "sample string 6",
      "errorMessage": "sample string 7"
    }
  ],
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<InventoryMovementMovilResponseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.InventoryMovement">
  <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>
    <InventoryMovementMovilResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 7</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">5</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 6</ResultMessage>
      <Inventory>sample string 1</Inventory>
      <PositionSubIndex>sample string 3</PositionSubIndex>
      <Product>sample string 2</Product>
      <Quantity>4</Quantity>
    </InventoryMovementMovilResponse>
    <InventoryMovementMovilResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 7</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">5</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 6</ResultMessage>
      <Inventory>sample string 1</Inventory>
      <PositionSubIndex>sample string 3</PositionSubIndex>
      <Product>sample string 2</Product>
      <Quantity>4</Quantity>
    </InventoryMovementMovilResponse>
  </ItemList>
</InventoryMovementMovilResponseList>