POST api/GetClient
Request Information
URI Parameters
None.
Body Parameters
RequestEnhanceName | Description | Type | Additional 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:
Response Information
Resource Description
ClientResponseName | Description | Type | Additional information |
---|---|---|---|
ClientCode | string |
None. |
|
IdIdentificationType | integer |
None. |
|
IdentificationType | string |
None. |
|
IdentificationId | string |
None. |
|
IdCountry | integer |
None. |
|
IdState | integer |
None. |
|
IdCity | integer |
None. |
|
Country | string |
None. |
|
State | string |
None. |
|
City | string |
None. |
|
Validation | integer |
None. |
|
Serial | boolean |
None. |
|
IsFixedAsset | boolean |
None. |
|
Id | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
Code | integer |
None. |
|
IsEnabled | boolean |
None. |
|
IsInUse | boolean |
None. |
|
ResultCode | integer |
None. |
|
ResultMessage | string |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "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" }
application/xml, text/xml
Sample:
<ClientResponse 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 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>