POST api/GetProcessList

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

ResponseListExtended
NameDescriptionTypeAdditional information
ItemList

Collection of ResponseExtended

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "itemList": [
    {
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "code": 4,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 7,
      "resultMessage": "sample string 8",
      "errorMessage": "sample string 9"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "description": "sample string 3",
      "code": 4,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 7,
      "resultMessage": "sample string 8",
      "errorMessage": "sample string 9"
    }
  ],
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<ResponseListExtended xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">
  <ErrorMessage>sample string 3</ErrorMessage>
  <ResultCode>1</ResultCode>
  <ResultMessage>sample string 2</ResultMessage>
  <ItemList>
    <ResponseExtended>
      <ErrorMessage>sample string 9</ErrorMessage>
      <ResultCode>7</ResultCode>
      <ResultMessage>sample string 8</ResultMessage>
      <Code>4</Code>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <IsEnabled>true</IsEnabled>
      <IsInUse>true</IsInUse>
      <Name>sample string 2</Name>
    </ResponseExtended>
    <ResponseExtended>
      <ErrorMessage>sample string 9</ErrorMessage>
      <ResultCode>7</ResultCode>
      <ResultMessage>sample string 8</ResultMessage>
      <Code>4</Code>
      <Description>sample string 3</Description>
      <Id>1</Id>
      <IsEnabled>true</IsEnabled>
      <IsInUse>true</IsInUse>
      <Name>sample string 2</Name>
    </ResponseExtended>
  </ItemList>
</ResponseListExtended>