POST api/Client/updateClient
Request Information
URI Parameters
None.
Body Parameters
Client| Name | Description | Type | Additional information |
|---|---|---|---|
| address | Address |
None. |
|
| id | string |
None. |
|
| number | integer |
None. |
|
| name | string |
None. |
|
| commercialName | string |
None. |
|
| rfc | string |
None. |
|
| phone | string |
None. |
|
| string |
None. |
||
| regime | string |
None. |
|
| voucherUse | string |
None. |
|
| message | Message |
None. |
Request Formats
application/json, text/json
Sample:
{
"address": {
"street": "sample string 1",
"externalNumber": "sample string 2",
"internalNumber": "sample string 3",
"neighborhood": "sample string 4",
"city": "sample string 5",
"state": "sample string 6",
"country": "sample string 7",
"zipCode": "sample string 8"
},
"id": "sample string 1",
"number": 2,
"name": "sample string 3",
"commercialName": "sample string 4",
"rfc": "sample string 5",
"phone": "sample string 6",
"email": "sample string 7",
"regime": "sample string 8",
"voucherUse": "sample string 9",
"message": {
"errorCode": 1,
"errorDesc": "sample string 2",
"response": "sample string 3"
}
}
application/xml, text/xml
Sample:
<Client xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AspNexus.NexusFE.Web.RestServices.MetodosYClasesTimbrado">
<commercialName xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 4</commercialName>
<email xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 7</email>
<id xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 1</id>
<message xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">
<errorCode>1</errorCode>
<errorDesc>sample string 2</errorDesc>
<response>sample string 3</response>
</message>
<name xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 3</name>
<number xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">2</number>
<phone xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 6</phone>
<regime xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 8</regime>
<rfc xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 5</rfc>
<voucherUse xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">sample string 9</voucherUse>
<address xmlns:d2p1="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common">
<d2p1:city>sample string 5</d2p1:city>
<d2p1:country>sample string 7</d2p1:country>
<d2p1:externalNumber>sample string 2</d2p1:externalNumber>
<d2p1:internalNumber>sample string 3</d2p1:internalNumber>
<d2p1:neighborhood>sample string 4</d2p1:neighborhood>
<d2p1:state>sample string 6</d2p1:state>
<d2p1:street>sample string 1</d2p1:street>
<d2p1:zipCode>sample string 8</d2p1:zipCode>
</address>
</Client>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Message| Name | Description | Type | Additional information |
|---|---|---|---|
| errorCode | integer |
None. |
|
| errorDesc | string |
None. |
|
| response | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errorCode": 1,
"errorDesc": "sample string 2",
"response": "sample string 3"
}
application/xml, text/xml
Sample:
<Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AspNexus.Web.Services.Common"> <errorCode>1</errorCode> <errorDesc>sample string 2</errorDesc> <response>sample string 3</response> </Message>