POST api/GetOutcomeWithDetailList

Request Information

URI Parameters

None.

Body Parameters

Request
NameDescriptionTypeAdditional information
User

string

None.

UserId

integer

None.

ValidationKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "user": "sample string 1",
  "userId": 2,
  "validationKey": "sample string 3"
}

application/xml, text/xml

Sample:
<Request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Request">
  <User>sample string 1</User>
  <UserId>2</UserId>
  <ValidationKey>sample string 3</ValidationKey>
</Request>

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 'Request'.

Response Information

Resource Description

OutcomeDetailListResponseList
NameDescriptionTypeAdditional information
ItemList

Collection of OutcomeDetailListResponse

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "itemList": [
    {
      "itemList": [
        {
          "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"
        },
        {
          "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"
        }
      ],
      "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-12-01T00:02:04.0638759-05:00",
      "creationDate": "2024-12-01T00:02:04.0638759-05:00",
      "isDispatched": true,
      "idClient": 13,
      "id": 14,
      "isInUse": true,
      "resultCode": 16,
      "resultMessage": "sample string 17",
      "errorMessage": "sample string 18"
    },
    {
      "itemList": [
        {
          "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"
        },
        {
          "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"
        }
      ],
      "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-12-01T00:02:04.0638759-05:00",
      "creationDate": "2024-12-01T00:02:04.0638759-05:00",
      "isDispatched": true,
      "idClient": 13,
      "id": 14,
      "isInUse": true,
      "resultCode": 16,
      "resultMessage": "sample string 17",
      "errorMessage": "sample string 18"
    }
  ],
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<OutcomeDetailListResponseList 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 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>
    <OutcomeDetailListResponse>
      <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-12-01T00:02:04.0638759-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-12-01T00:02:04.0638759-05:00</OutcomeDate>
      <OutcomeReceiver>sample string 6</OutcomeReceiver>
      <OutcomeState>sample string 4</OutcomeState>
      <OutcomeType>sample string 2</OutcomeType>
      <ItemList xmlns:d4p1="http://schemas.datacontract.org/2004/07/SGAMovil.Response.OutcomeDetail">
        <d4p1:OutcomeDetailResponse>
          <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>
          <d4p1:DispatchedQuantity>6</d4p1:DispatchedQuantity>
          <d4p1:IdOutcome>1</d4p1:IdOutcome>
          <d4p1:IdProduct>3</d4p1:IdProduct>
          <d4p1:IsDispatched>true</d4p1:IsDispatched>
          <d4p1:ItemState>9</d4p1:ItemState>
          <d4p1:Outcome>sample string 2</d4p1:Outcome>
          <d4p1:PendingQuantity>7</d4p1:PendingQuantity>
          <d4p1:Product>sample string 4</d4p1:Product>
          <d4p1:Quantity>5</d4p1:Quantity>
        </d4p1:OutcomeDetailResponse>
        <d4p1:OutcomeDetailResponse>
          <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>
          <d4p1:DispatchedQuantity>6</d4p1:DispatchedQuantity>
          <d4p1:IdOutcome>1</d4p1:IdOutcome>
          <d4p1:IdProduct>3</d4p1:IdProduct>
          <d4p1:IsDispatched>true</d4p1:IsDispatched>
          <d4p1:ItemState>9</d4p1:ItemState>
          <d4p1:Outcome>sample string 2</d4p1:Outcome>
          <d4p1:PendingQuantity>7</d4p1:PendingQuantity>
          <d4p1:Product>sample string 4</d4p1:Product>
          <d4p1:Quantity>5</d4p1:Quantity>
        </d4p1:OutcomeDetailResponse>
      </ItemList>
    </OutcomeDetailListResponse>
    <OutcomeDetailListResponse>
      <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-12-01T00:02:04.0638759-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-12-01T00:02:04.0638759-05:00</OutcomeDate>
      <OutcomeReceiver>sample string 6</OutcomeReceiver>
      <OutcomeState>sample string 4</OutcomeState>
      <OutcomeType>sample string 2</OutcomeType>
      <ItemList xmlns:d4p1="http://schemas.datacontract.org/2004/07/SGAMovil.Response.OutcomeDetail">
        <d4p1:OutcomeDetailResponse>
          <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>
          <d4p1:DispatchedQuantity>6</d4p1:DispatchedQuantity>
          <d4p1:IdOutcome>1</d4p1:IdOutcome>
          <d4p1:IdProduct>3</d4p1:IdProduct>
          <d4p1:IsDispatched>true</d4p1:IsDispatched>
          <d4p1:ItemState>9</d4p1:ItemState>
          <d4p1:Outcome>sample string 2</d4p1:Outcome>
          <d4p1:PendingQuantity>7</d4p1:PendingQuantity>
          <d4p1:Product>sample string 4</d4p1:Product>
          <d4p1:Quantity>5</d4p1:Quantity>
        </d4p1:OutcomeDetailResponse>
        <d4p1:OutcomeDetailResponse>
          <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>
          <d4p1:DispatchedQuantity>6</d4p1:DispatchedQuantity>
          <d4p1:IdOutcome>1</d4p1:IdOutcome>
          <d4p1:IdProduct>3</d4p1:IdProduct>
          <d4p1:IsDispatched>true</d4p1:IsDispatched>
          <d4p1:ItemState>9</d4p1:ItemState>
          <d4p1:Outcome>sample string 2</d4p1:Outcome>
          <d4p1:PendingQuantity>7</d4p1:PendingQuantity>
          <d4p1:Product>sample string 4</d4p1:Product>
          <d4p1:Quantity>5</d4p1:Quantity>
        </d4p1:OutcomeDetailResponse>
      </ItemList>
    </OutcomeDetailListResponse>
  </ItemList>
</OutcomeDetailListResponseList>