POST api/GetIncomeDetail

Request Information

URI Parameters

None.

Body Parameters

RequestEnhance
NameDescriptionTypeAdditional 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:

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

Response Information

Resource Description

IncomeDetailResponse
NameDescriptionTypeAdditional information
IdIncome

integer

None.

Income

string

None.

IdProduct

integer

None.

Product

string

None.

Quantity

integer

None.

DistributedQuantity

integer

None.

PendingQuantity

integer

None.

IsDistributed

boolean

None.

ItemState

integer

None.

Id

integer

None.

IsInUse

boolean

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "idIncome": 1,
  "income": "sample string 2",
  "idProduct": 3,
  "product": "sample string 4",
  "quantity": 5,
  "distributedQuantity": 6,
  "pendingQuantity": 7,
  "isDistributed": true,
  "itemState": 9,
  "id": 10,
  "isInUse": true,
  "resultCode": 12,
  "resultMessage": "sample string 13",
  "errorMessage": "sample string 14"
}

application/xml, text/xml

Sample:
<IncomeDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.IncomeDetail">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 14</ErrorMessage>
  <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">12</ResultCode>
  <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 13</ResultMessage>
  <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">10</Id>
  <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
  <DistributedQuantity>6</DistributedQuantity>
  <IdIncome>1</IdIncome>
  <IdProduct>3</IdProduct>
  <Income>sample string 2</Income>
  <IsDistributed>true</IsDistributed>
  <ItemState>9</ItemState>
  <PendingQuantity>7</PendingQuantity>
  <Product>sample string 4</Product>
  <Quantity>5</Quantity>
</IncomeDetailResponse>