PUT Api/Utility/SaveChangeAddresses

Request Information

URI Parameters

None.

Body Parameters

UserInputAddressDto
NameDescriptionTypeAdditional information
ProfileId

string

None.

DataWizardId

integer

None.

Position

GeoPosition

None.

Addresses

Collection of AddressDto

None.

Request Formats

application/json, text/json

Sample:
{
  "profileId": "sample string 1",
  "dataWizardId": 1,
  "position": {
    "latitude": 1.1,
    "longitude": 2.1
  },
  "addresses": [
    {
      "addressId": 1,
      "profileId": "sample string 2",
      "typeOfAddressId": 3,
      "countryId": 4,
      "regionId": 1,
      "districtId": 1,
      "communityId": 1,
      "taxOfficeId": 1,
      "city": "sample string 5",
      "street": "sample string 6",
      "houseNr": "sample string 7",
      "flatNr": "sample string 8",
      "postCode": "sample string 9",
      "isConfirmed": true,
      "isOwnAccommodation": true,
      "taxOfficeName": "sample string 11"
    },
    {
      "addressId": 1,
      "profileId": "sample string 2",
      "typeOfAddressId": 3,
      "countryId": 4,
      "regionId": 1,
      "districtId": 1,
      "communityId": 1,
      "taxOfficeId": 1,
      "city": "sample string 5",
      "street": "sample string 6",
      "houseNr": "sample string 7",
      "flatNr": "sample string 8",
      "postCode": "sample string 9",
      "isConfirmed": true,
      "isOwnAccommodation": true,
      "taxOfficeName": "sample string 11"
    }
  ]
}

multipart/form-data

Sample:
{"profileId":"sample string 1","dataWizardId":1,"position":{"latitude":1.1,"longitude":2.1},"addresses":[{"addressId":1,"profileId":"sample string 2","typeOfAddressId":3,"countryId":4,"regionId":1,"districtId":1,"communityId":1,"taxOfficeId":1,"city":"sample string 5","street":"sample string 6","houseNr":"sample string 7","flatNr":"sample string 8","postCode":"sample string 9","isConfirmed":true,"isOwnAccommodation":true,"taxOfficeName":"sample string 11"},{"addressId":1,"profileId":"sample string 2","typeOfAddressId":3,"countryId":4,"regionId":1,"districtId":1,"communityId":1,"taxOfficeId":1,"city":"sample string 5","street":"sample string 6","houseNr":"sample string 7","flatNr":"sample string 8","postCode":"sample string 9","isConfirmed":true,"isOwnAccommodation":true,"taxOfficeName":"sample string 11"}]}

application/xml, text/xml

Sample:
<UserInputAddressDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ProfileId>sample string 1</ProfileId>
  <DataWizardId>1</DataWizardId>
  <Position>
    <Latitude>1.1</Latitude>
    <Longitude>2.1</Longitude>
  </Position>
  <Addresses>
    <AddressDto>
      <AddressId>1</AddressId>
      <ProfileId>sample string 2</ProfileId>
      <TypeOfAddressId>3</TypeOfAddressId>
      <CountryId>4</CountryId>
      <RegionId>1</RegionId>
      <DistrictId>1</DistrictId>
      <CommunityId>1</CommunityId>
      <TaxOfficeId>1</TaxOfficeId>
      <City>sample string 5</City>
      <Street>sample string 6</Street>
      <HouseNr>sample string 7</HouseNr>
      <FlatNr>sample string 8</FlatNr>
      <PostCode>sample string 9</PostCode>
      <IsConfirmed>true</IsConfirmed>
      <IsOwnAccommodation>true</IsOwnAccommodation>
      <TaxOfficeName>sample string 11</TaxOfficeName>
    </AddressDto>
    <AddressDto>
      <AddressId>1</AddressId>
      <ProfileId>sample string 2</ProfileId>
      <TypeOfAddressId>3</TypeOfAddressId>
      <CountryId>4</CountryId>
      <RegionId>1</RegionId>
      <DistrictId>1</DistrictId>
      <CommunityId>1</CommunityId>
      <TaxOfficeId>1</TaxOfficeId>
      <City>sample string 5</City>
      <Street>sample string 6</Street>
      <HouseNr>sample string 7</HouseNr>
      <FlatNr>sample string 8</FlatNr>
      <PostCode>sample string 9</PostCode>
      <IsConfirmed>true</IsConfirmed>
      <IsOwnAccommodation>true</IsOwnAccommodation>
      <TaxOfficeName>sample string 11</TaxOfficeName>
    </AddressDto>
  </Addresses>
</UserInputAddressDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of AddressDto
NameDescriptionTypeAdditional information
AddressId

integer

None.

ProfileId

string

None.

TypeOfAddressId

integer

None.

CountryId

integer

None.

RegionId

integer

None.

DistrictId

integer

None.

CommunityId

integer

None.

TaxOfficeId

integer

None.

City

string

None.

Street

string

None.

HouseNr

string

None.

FlatNr

string

None.

PostCode

string

None.

IsConfirmed

boolean

None.

IsOwnAccommodation

boolean

None.

TaxOfficeName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "addressId": 1,
    "profileId": "sample string 2",
    "typeOfAddressId": 3,
    "countryId": 4,
    "regionId": 1,
    "districtId": 1,
    "communityId": 1,
    "taxOfficeId": 1,
    "city": "sample string 5",
    "street": "sample string 6",
    "houseNr": "sample string 7",
    "flatNr": "sample string 8",
    "postCode": "sample string 9",
    "isConfirmed": true,
    "isOwnAccommodation": true,
    "taxOfficeName": "sample string 11"
  },
  {
    "addressId": 1,
    "profileId": "sample string 2",
    "typeOfAddressId": 3,
    "countryId": 4,
    "regionId": 1,
    "districtId": 1,
    "communityId": 1,
    "taxOfficeId": 1,
    "city": "sample string 5",
    "street": "sample string 6",
    "houseNr": "sample string 7",
    "flatNr": "sample string 8",
    "postCode": "sample string 9",
    "isConfirmed": true,
    "isOwnAccommodation": true,
    "taxOfficeName": "sample string 11"
  }
]

multipart/form-data

Sample:
[{"addressId":1,"profileId":"sample string 2","typeOfAddressId":3,"countryId":4,"regionId":1,"districtId":1,"communityId":1,"taxOfficeId":1,"city":"sample string 5","street":"sample string 6","houseNr":"sample string 7","flatNr":"sample string 8","postCode":"sample string 9","isConfirmed":true,"isOwnAccommodation":true,"taxOfficeName":"sample string 11"},{"addressId":1,"profileId":"sample string 2","typeOfAddressId":3,"countryId":4,"regionId":1,"districtId":1,"communityId":1,"taxOfficeId":1,"city":"sample string 5","street":"sample string 6","houseNr":"sample string 7","flatNr":"sample string 8","postCode":"sample string 9","isConfirmed":true,"isOwnAccommodation":true,"taxOfficeName":"sample string 11"}]

application/xml, text/xml

Sample:
<ArrayOfAddressDto xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <AddressDto>
    <AddressId>1</AddressId>
    <ProfileId>sample string 2</ProfileId>
    <TypeOfAddressId>3</TypeOfAddressId>
    <CountryId>4</CountryId>
    <RegionId>1</RegionId>
    <DistrictId>1</DistrictId>
    <CommunityId>1</CommunityId>
    <TaxOfficeId>1</TaxOfficeId>
    <City>sample string 5</City>
    <Street>sample string 6</Street>
    <HouseNr>sample string 7</HouseNr>
    <FlatNr>sample string 8</FlatNr>
    <PostCode>sample string 9</PostCode>
    <IsConfirmed>true</IsConfirmed>
    <IsOwnAccommodation>true</IsOwnAccommodation>
    <TaxOfficeName>sample string 11</TaxOfficeName>
  </AddressDto>
  <AddressDto>
    <AddressId>1</AddressId>
    <ProfileId>sample string 2</ProfileId>
    <TypeOfAddressId>3</TypeOfAddressId>
    <CountryId>4</CountryId>
    <RegionId>1</RegionId>
    <DistrictId>1</DistrictId>
    <CommunityId>1</CommunityId>
    <TaxOfficeId>1</TaxOfficeId>
    <City>sample string 5</City>
    <Street>sample string 6</Street>
    <HouseNr>sample string 7</HouseNr>
    <FlatNr>sample string 8</FlatNr>
    <PostCode>sample string 9</PostCode>
    <IsConfirmed>true</IsConfirmed>
    <IsOwnAccommodation>true</IsOwnAccommodation>
    <TaxOfficeName>sample string 11</TaxOfficeName>
  </AddressDto>
</ArrayOfAddressDto>