POST Api/Clients/Update

Request Information

URI Parameters

None.

Body Parameters

UpdateClientRequest
NameDescriptionTypeAdditional information
idClient

integer

None.

idH

string

None.

clienteName

string

None.

status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "idClient": 1,
  "idH": "sample string 2",
  "clienteName": "sample string 3",
  "status": true
}

application/xml, text/xml

Sample:
<UpdateClientRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <idClient>1</idClient>
  <idH>sample string 2</idH>
  <clienteName>sample string 3</clienteName>
  <status>true</status>
</UpdateClientRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GenericResponse
NameDescriptionTypeAdditional information
success

La solicitud se realizo correctamente

boolean

None.

error

Error arrojado por la API

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "error": "sample string 2"
}

application/xml, text/xml

Sample:
<GenericResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <error>sample string 2</error>
</GenericResponse>