POST api/OuterGateCommon/UpdateCustomerAddress
Aggiorna un indirizzo già esistente di un cliente registrato
Request Information
URI Parameters
None.
Body Parameters
Il nuovo indirizzo
OuterEditAddressCustomerInName | Description | Type | Additional information |
---|---|---|---|
CustomerAddressId |
Id dell' indirizzo alternativo del cliente |
integer |
None. |
CustomerId |
Id anagrafica cliente |
integer |
Required |
Alias |
Gets or sets the alias. |
string |
None. |
CompanyName |
Nome azienda |
string |
String length: inclusive between 0 and 255 |
Address |
Indirizzo |
string |
Required String length: inclusive between 0 and 255 |
AddressMore |
Continua dell'indirizzo |
string |
None. |
Cap |
CAP |
string |
Required Max length: 5 Min length: 5 |
City |
Città |
string |
Required String length: inclusive between 0 and 50 |
Province |
Provincia |
string |
Required Max length: 2 Min length: 2 |
Region |
Regione |
string |
Required String length: inclusive between 0 and 255 |
TwoLetterCountryISO |
Nome ISO a due lettere della nazione (Italia = IT) |
string |
Required String length: inclusive between 0 and 2 |
Other |
Altro |
string |
String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
Sample:
{ "CustomerAddressId": 1, "CustomerId": 2, "Alias": "sample string 3", "CompanyName": "sample string 4", "Address": "sample string 5", "AddressMore": "sample string 6", "Cap": "sample string 7", "City": "sample string 8", "Province": "sample string 9", "Region": "sample string 10", "TwoLetterCountryISO": "sample string 11", "Other": "sample string 12" }
application/xml, text/xml
Sample:
<OuterEditAddressCustomerIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels"> <Address>sample string 5</Address> <AddressMore>sample string 6</AddressMore> <Alias>sample string 3</Alias> <Cap>sample string 7</Cap> <City>sample string 8</City> <CompanyName>sample string 4</CompanyName> <CustomerId>2</CustomerId> <Other>sample string 12</Other> <Province>sample string 9</Province> <Region>sample string 10</Region> <TwoLetterCountryISO>sample string 11</TwoLetterCountryISO> <CustomerAddressId>1</CustomerAddressId> </OuterEditAddressCustomerIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>