POST api/GetOutcomeDetail

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

OutcomeDetailResponse
NameDescriptionTypeAdditional information
IdOutcome

integer

None.

Outcome

string

None.

IdProduct

integer

None.

Product

string

None.

Quantity

integer

None.

DispatchedQuantity

integer

None.

PendingQuantity

integer

None.

IsDispatched

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:
{
  "idOutcome": 1,
  "outcome": "sample string 2",
  "idProduct": 3,
  "product": "sample string 4",
  "quantity": 5,
  "dispatchedQuantity": 6,
  "pendingQuantity": 7,
  "isDispatched": true,
  "itemState": 9,
  "id": 10,
  "isInUse": true,
  "resultCode": 12,
  "resultMessage": "sample string 13",
  "errorMessage": "sample string 14"
}

application/xml, text/xml

Sample:
<OutcomeDetailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.OutcomeDetail">
  <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>
  <DispatchedQuantity>6</DispatchedQuantity>
  <IdOutcome>1</IdOutcome>
  <IdProduct>3</IdProduct>
  <IsDispatched>true</IsDispatched>
  <ItemState>9</ItemState>
  <Outcome>sample string 2</Outcome>
  <PendingQuantity>7</PendingQuantity>
  <Product>sample string 4</Product>
  <Quantity>5</Quantity>
</OutcomeDetailResponse>