PATCH api/v1/addressbook/contacts

Updates the details of all the contacts specified in the request.

Request Information

URI Parameters

None.

Body Parameters

A list of contacts to be updated.

Collection of AddressBookEntryDetail
NameDescriptionTypeAdditional information
EmailAddress

The email address of the address book entry to be modified.

string

None.

FirstName

The first name of the address book entry to be modified.

string

None.

LastName

The last name of the address book entry to be modified.

string

None.

MobilePhone

The mobile phone of the address book entry to be modified.

string

None.

Password

The password of the address book entry to be modified.

string

None.

PersonNumber

The ID of the address book entry.

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EmailAddress": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "MobilePhone": "sample string 4",
    "Password": "sample string 5",
    "PersonNumber": 6
  },
  {
    "EmailAddress": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "MobilePhone": "sample string 4",
    "Password": "sample string 5",
    "PersonNumber": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfAddressBookEntryDetail xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <AddressBookEntryDetail>
    <EmailAddress>sample string 1</EmailAddress>
    <FirstName>sample string 2</FirstName>
    <LastName>sample string 3</LastName>
    <MobilePhone>sample string 4</MobilePhone>
    <Password>sample string 5</Password>
    <PersonNumber>6</PersonNumber>
  </AddressBookEntryDetail>
  <AddressBookEntryDetail>
    <EmailAddress>sample string 1</EmailAddress>
    <FirstName>sample string 2</FirstName>
    <LastName>sample string 3</LastName>
    <MobilePhone>sample string 4</MobilePhone>
    <Password>sample string 5</Password>
    <PersonNumber>6</PersonNumber>
  </AddressBookEntryDetail>
</ArrayOfAddressBookEntryDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfObject
NameDescriptionTypeAdditional information
Error

Error

None.

ResponseData

ResponseDataOfObject

None.

Response Formats

application/json, text/json

Sample:
{
  "Error": {
    "ErrorCode": "sample string 1",
    "ErrorReason": "sample string 2"
  },
  "ResponseData": {
    "Identification": {
      "UserId": "sample string 1"
    },
    "Result": "sample string 1",
    "Detail": {}
  }
}

application/xml, text/xml

Sample:
<ResponseOfObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Error>
    <ErrorCode>sample string 1</ErrorCode>
    <ErrorReason>sample string 2</ErrorReason>
  </Error>
  <ResponseData>
    <Result>sample string 1</Result>
    <Identification>
      <UserId>sample string 1</UserId>
    </Identification>
    <Detail />
  </ResponseData>
</ResponseOfObject>