POST api/GetClientList

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

ClientResponseList
NameDescriptionTypeAdditional information
ItemList

Collection of ClientResponse

None.

ResultCode

integer

None.

ResultMessage

string

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "itemList": [
    {
      "clientCode": "sample string 1",
      "idIdentificationType": 2,
      "identificationType": "sample string 3",
      "identificationId": "sample string 4",
      "idCountry": 5,
      "idState": 6,
      "idCity": 7,
      "country": "sample string 8",
      "state": "sample string 9",
      "city": "sample string 10",
      "validation": 11,
      "serial": true,
      "isFixedAsset": true,
      "id": 14,
      "name": "sample string 15",
      "description": "sample string 16",
      "code": 17,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 20,
      "resultMessage": "sample string 21",
      "errorMessage": "sample string 22"
    },
    {
      "clientCode": "sample string 1",
      "idIdentificationType": 2,
      "identificationType": "sample string 3",
      "identificationId": "sample string 4",
      "idCountry": 5,
      "idState": 6,
      "idCity": 7,
      "country": "sample string 8",
      "state": "sample string 9",
      "city": "sample string 10",
      "validation": 11,
      "serial": true,
      "isFixedAsset": true,
      "id": 14,
      "name": "sample string 15",
      "description": "sample string 16",
      "code": 17,
      "isEnabled": true,
      "isInUse": true,
      "resultCode": 20,
      "resultMessage": "sample string 21",
      "errorMessage": "sample string 22"
    }
  ],
  "resultCode": 1,
  "resultMessage": "sample string 2",
  "errorMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<ClientResponseList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response.Client">
  <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>
    <ClientResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 22</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">20</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 21</ResultMessage>
      <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">17</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 16</Description>
      <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">14</Id>
      <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
      <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
      <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 15</Name>
      <City>sample string 10</City>
      <ClientCode>sample string 1</ClientCode>
      <Country>sample string 8</Country>
      <IdCity>7</IdCity>
      <IdCountry>5</IdCountry>
      <IdIdentificationType>2</IdIdentificationType>
      <IdState>6</IdState>
      <IdentificationId>sample string 4</IdentificationId>
      <IdentificationType>sample string 3</IdentificationType>
      <IsFixedAsset>true</IsFixedAsset>
      <Serial>true</Serial>
      <State>sample string 9</State>
      <Validation>11</Validation>
    </ClientResponse>
    <ClientResponse>
      <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 22</ErrorMessage>
      <ResultCode xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">20</ResultCode>
      <ResultMessage xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 21</ResultMessage>
      <Code xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">17</Code>
      <Description xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 16</Description>
      <Id xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">14</Id>
      <IsEnabled xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsEnabled>
      <IsInUse xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">true</IsInUse>
      <Name xmlns="http://schemas.datacontract.org/2004/07/SGAMovil.Response">sample string 15</Name>
      <City>sample string 10</City>
      <ClientCode>sample string 1</ClientCode>
      <Country>sample string 8</Country>
      <IdCity>7</IdCity>
      <IdCountry>5</IdCountry>
      <IdIdentificationType>2</IdIdentificationType>
      <IdState>6</IdState>
      <IdentificationId>sample string 4</IdentificationId>
      <IdentificationType>sample string 3</IdentificationType>
      <IsFixedAsset>true</IsFixedAsset>
      <Serial>true</Serial>
      <State>sample string 9</State>
      <Validation>11</Validation>
    </ClientResponse>
  </ItemList>
</ClientResponseList>