POST api/OuterGateCommon/CreateCustomerAddress
Crea un nuovo indirizzo ad un cliente già registrato sulla piattaforma
Request Information
URI Parameters
None.
Body Parameters
Il nuovo indirizzo
OuterAddressCustomerIn| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"CustomerId": 1,
"Alias": "sample string 2",
"CompanyName": "sample string 3",
"Address": "sample string 4",
"AddressMore": "sample string 5",
"Cap": "sample string 6",
"City": "sample string 7",
"Province": "sample string 8",
"Region": "sample string 9",
"TwoLetterCountryISO": "sample string 10",
"Other": "sample string 11"
}
application/xml, text/xml
Sample:
<OuterAddressCustomerIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels"> <Address>sample string 4</Address> <AddressMore>sample string 5</AddressMore> <Alias>sample string 2</Alias> <Cap>sample string 6</Cap> <City>sample string 7</City> <CompanyName>sample string 3</CompanyName> <CustomerId>1</CustomerId> <Other>sample string 11</Other> <Province>sample string 8</Province> <Region>sample string 9</Region> <TwoLetterCountryISO>sample string 10</TwoLetterCountryISO> </OuterAddressCustomerIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Identificativo dell'indirizzo
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>