POST api/GetOutcome

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

OutcomeResponse
NameDescriptionTypeAdditional information
IdOutcomeType

integer

None.

OutcomeType

string

None.

IdOutcomeState

integer

None.

OutcomeState

string

None.

IdOutcomeReceiver

integer

None.

OutcomeReceiver

string

None.

Number

string

None.

DocumentNumber

string

None.

Description

string

None.

OutcomeDate

date

None.

CreationDate

date

None.

IsDispatched

boolean

None.

IdClient

integer

None.

Id

integer

None.

IsInUse

boolean

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "idOutcomeType": 1,
  "outcomeType": "sample string 2",
  "idOutcomeState": 3,
  "outcomeState": "sample string 4",
  "idOutcomeReceiver": 5,
  "outcomeReceiver": "sample string 6",
  "number": "sample string 7",
  "documentNumber": "sample string 8",
  "description": "sample string 9",
  "outcomeDate": "2024-11-30T23:57:06.4129843-05:00",
  "creationDate": "2024-11-30T23:57:06.4129843-05:00",
  "isDispatched": true,
  "idClient": 13,
  "id": 14,
  "isInUse": true,
  "resultCode": 16,
  "resultMessage": "sample string 17",
  "errorMessage": "sample string 18"
}

application/xml, text/xml

Sample:
<OutcomeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Outcome">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 18</ErrorMessage>
  <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">16</ResultCode>
  <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 17</ResultMessage>
  <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">14</Id>
  <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
  <CreationDate>2024-11-30T23:57:06.4129843-05:00</CreationDate>
  <Description>sample string 9</Description>
  <DocumentNumber>sample string 8</DocumentNumber>
  <IdClient>13</IdClient>
  <IdOutcomeReceiver>5</IdOutcomeReceiver>
  <IdOutcomeState>3</IdOutcomeState>
  <IdOutcomeType>1</IdOutcomeType>
  <IsDispatched>true</IsDispatched>
  <Number>sample string 7</Number>
  <OutcomeDate>2024-11-30T23:57:06.4129843-05:00</OutcomeDate>
  <OutcomeReceiver>sample string 6</OutcomeReceiver>
  <OutcomeState>sample string 4</OutcomeState>
  <OutcomeType>sample string 2</OutcomeType>
</OutcomeResponse>