PUT api/{database}/Address/{addressGuid}

Updates the specified Address



Request Information

Parameters

NameDescriptionAdditional information
addressGuid The addressGuid.

Define this parameter in the request URI.

value The updated values for Address.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "addressGuid": "sample string 1",
  "addressId": 2,
  "addressType": 0,
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 4",
  "city": "sample string 5",
  "contactPerson": "sample string 6",
  "countryId": "sample string 7",
  "email": "sample string 8",
  "fax": "sample string 9",
  "fullAddress": "sample string 10",
  "languageId": "sample string 11",
  "name": "sample string 12",
  "organizationId": 13,
  "street1": "sample string 14",
  "street2": "sample string 15",
  "telephone": "sample string 16",
  "zipCode": "sample string 17"
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AddressGuid>sample string 1</AddressGuid>
  <AddressId>2</AddressId>
  <AddressType>DeliveryAddress</AddressType>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 4</CannotChangeReason>
  <City>sample string 5</City>
  <ContactPerson>sample string 6</ContactPerson>
  <CountryId>sample string 7</CountryId>
  <Email>sample string 8</Email>
  <Fax>sample string 9</Fax>
  <FullAddress>sample string 10</FullAddress>
  <LanguageId>sample string 11</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Name>sample string 12</Name>
  <OrganizationId>13</OrganizationId>
  <Street1>sample string 14</Street1>
  <Street2>sample string 15</Street2>
  <Telephone>sample string 16</Telephone>
  <ZipCode>sample string 17</ZipCode>
</Address>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "addressGuid": "sample string 1",
  "addressId": 2,
  "addressType": 0,
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 4",
  "city": "sample string 5",
  "contactPerson": "sample string 6",
  "countryId": "sample string 7",
  "email": "sample string 8",
  "fax": "sample string 9",
  "fullAddress": "sample string 10",
  "languageId": "sample string 11",
  "name": "sample string 12",
  "organizationId": 13,
  "street1": "sample string 14",
  "street2": "sample string 15",
  "telephone": "sample string 16",
  "zipCode": "sample string 17"
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AddressGuid>sample string 1</AddressGuid>
  <AddressId>2</AddressId>
  <AddressType>DeliveryAddress</AddressType>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 4</CannotChangeReason>
  <City>sample string 5</City>
  <ContactPerson>sample string 6</ContactPerson>
  <CountryId>sample string 7</CountryId>
  <Email>sample string 8</Email>
  <Fax>sample string 9</Fax>
  <FullAddress>sample string 10</FullAddress>
  <LanguageId>sample string 11</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Name>sample string 12</Name>
  <OrganizationId>13</OrganizationId>
  <Street1>sample string 14</Street1>
  <Street2>sample string 15</Street2>
  <Telephone>sample string 16</Telephone>
  <ZipCode>sample string 17</ZipCode>
</Address>