PUT api/{database}/Person/{personId}

Updates the specified Person



Request Information

Parameters

NameDescriptionAdditional information
personId The personId.

Define this parameter in the request URI.

value The updated values for Person.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "dateOfBirth": "sample string 3",
  "email": "sample string 4",
  "fax": "sample string 5",
  "firstName": "sample string 6",
  "gender": "sample string 7",
  "homepage": "sample string 8",
  "initials": "sample string 9",
  "languageId": "sample string 10",
  "mobilePhone": "sample string 11",
  "name": "sample string 12",
  "personId": "sample string 13",
  "salutationId": "sample string 14",
  "shortName": "sample string 15",
  "status": "sample string 16",
  "suffixId": "sample string 17",
  "telephone": "sample string 18",
  "titleId": "sample string 19"
}

application/xml, text/xml

Sample:
<Person xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <DateOfBirth>sample string 3</DateOfBirth>
  <Email>sample string 4</Email>
  <Fax>sample string 5</Fax>
  <FirstName>sample string 6</FirstName>
  <Gender>sample string 7</Gender>
  <Homepage>sample string 8</Homepage>
  <Initials>sample string 9</Initials>
  <LanguageId>sample string 10</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 11</MobilePhone>
  <Name>sample string 12</Name>
  <PersonId>sample string 13</PersonId>
  <SalutationId>sample string 14</SalutationId>
  <ShortName>sample string 15</ShortName>
  <Status>sample string 16</Status>
  <SuffixId>sample string 17</SuffixId>
  <Telephone>sample string 18</Telephone>
  <TitleId>sample string 19</TitleId>
</Person>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "dateOfBirth": "sample string 3",
  "email": "sample string 4",
  "fax": "sample string 5",
  "firstName": "sample string 6",
  "gender": "sample string 7",
  "homepage": "sample string 8",
  "initials": "sample string 9",
  "languageId": "sample string 10",
  "mobilePhone": "sample string 11",
  "name": "sample string 12",
  "personId": "sample string 13",
  "salutationId": "sample string 14",
  "shortName": "sample string 15",
  "status": "sample string 16",
  "suffixId": "sample string 17",
  "telephone": "sample string 18",
  "titleId": "sample string 19"
}

application/xml, text/xml

Sample:
<Person xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <DateOfBirth>sample string 3</DateOfBirth>
  <Email>sample string 4</Email>
  <Fax>sample string 5</Fax>
  <FirstName>sample string 6</FirstName>
  <Gender>sample string 7</Gender>
  <Homepage>sample string 8</Homepage>
  <Initials>sample string 9</Initials>
  <LanguageId>sample string 10</LanguageId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MobilePhone>sample string 11</MobilePhone>
  <Name>sample string 12</Name>
  <PersonId>sample string 13</PersonId>
  <SalutationId>sample string 14</SalutationId>
  <ShortName>sample string 15</ShortName>
  <Status>sample string 16</Status>
  <SuffixId>sample string 17</SuffixId>
  <Telephone>sample string 18</Telephone>
  <TitleId>sample string 19</TitleId>
</Person>