PUT api/accounts

Request Information

URI Parameters

None.

Body Parameters

AccountDetailEditModel
NameDescriptionTypeAdditional information
account_id

string

None.

account_name

string

None.

alias

string

None.

legal_entity_name

string

None.

family_group_id

globally unique identifier

None.

family_group

string

None.

account_type_id

globally unique identifier

None.

source_id

globally unique identifier

None.

source_origin

string

None.

operating_locations

Collection of globally unique identifier

None.

photos_json

string

None.

photo_url

string

None.

thumbnail_url

string

None.

color1

string

None.

color2

string

None.

desired_services

Collection of globally unique identifier

None.

area_of_interests

Collection of string

None.

original_notes

string

None.

notes

string

None.

created_by_id

globally unique identifier

None.

created_by

string

None.

created_date

date

None.

deidentified

boolean

None.

mark_as_deleted

boolean

None.

external_activity

boolean

None.

suppressed_email

boolean

None.

auto_account_id

boolean

None.

id

globally unique identifier

None.

subscription_id

globally unique identifier

None.

ts

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "account_id": "sample string 1",
  "account_name": "sample string 2",
  "alias": "sample string 3",
  "legal_entity_name": "sample string 4",
  "family_group_id": "22e27755-1d8e-4005-bc90-e0451ea59963",
  "family_group": "sample string 5",
  "account_type_id": "154f1155-bcab-47d5-98fc-9117c06f2da3",
  "source_id": "a08555fa-63cf-4efb-8421-e39373507b33",
  "source_origin": "sample string 6",
  "operating_locations": [
    "970fdba7-6f49-4488-8c94-a1bcd3eb2403",
    "449ccdc9-c6de-4b97-81a7-c86dde510866"
  ],
  "photos_json": "sample string 7",
  "photo_url": "sample string 8",
  "thumbnail_url": "sample string 9",
  "color1": "sample string 10",
  "color2": "sample string 11",
  "desired_services": [
    "12aaf035-8419-414b-894b-95756ecf5e75",
    "1a014736-20b0-49f7-959a-b0e8d8af1dab"
  ],
  "area_of_interests": [
    "sample string 1",
    "sample string 2"
  ],
  "original_notes": "sample string 12",
  "notes": "sample string 13",
  "created_by_id": "c82c7520-0b87-47f9-9791-5299aa02962c",
  "created_by": "sample string 14",
  "created_date": "2026-06-09T14:55:39.4348337+08:00",
  "deidentified": true,
  "mark_as_deleted": true,
  "external_activity": true,
  "suppressed_email": true,
  "auto_account_id": true,
  "id": "f47c4788-f5c9-4ec6-95fe-675a6c17b25a",
  "subscription_id": "14a70ad4-2334-4a3b-9fa9-edaafce7d280",
  "ts": "QEA="
}

application/xml, text/xml

Sample:
<AccountDetailEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">f47c4788-f5c9-4ec6-95fe-675a6c17b25a</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">14a70ad4-2334-4a3b-9fa9-edaafce7d280</SubscriptionId>
  <Ts xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">QEA=</Ts>
  <AccountId>sample string 1</AccountId>
  <AccountName>sample string 2</AccountName>
  <AccountTypeId>154f1155-bcab-47d5-98fc-9117c06f2da3</AccountTypeId>
  <Alias>sample string 3</Alias>
  <AreaOfInterests xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AreaOfInterests>
  <AutoAccountId>true</AutoAccountId>
  <Color1>sample string 10</Color1>
  <Color2>sample string 11</Color2>
  <CreatedBy>sample string 14</CreatedBy>
  <CreatedById>c82c7520-0b87-47f9-9791-5299aa02962c</CreatedById>
  <CreatedDate>2026-06-09T14:55:39.4348337+08:00</CreatedDate>
  <Deidentified>true</Deidentified>
  <DesiredServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>12aaf035-8419-414b-894b-95756ecf5e75</d2p1:guid>
    <d2p1:guid>1a014736-20b0-49f7-959a-b0e8d8af1dab</d2p1:guid>
  </DesiredServices>
  <ExternalActivity>true</ExternalActivity>
  <FamilyGroup>sample string 5</FamilyGroup>
  <FamilyGroupId>22e27755-1d8e-4005-bc90-e0451ea59963</FamilyGroupId>
  <LegalEntityName>sample string 4</LegalEntityName>
  <MarkAsDeleted>true</MarkAsDeleted>
  <Notes>sample string 13</Notes>
  <OperatingLocations xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>970fdba7-6f49-4488-8c94-a1bcd3eb2403</d2p1:guid>
    <d2p1:guid>449ccdc9-c6de-4b97-81a7-c86dde510866</d2p1:guid>
  </OperatingLocations>
  <OriginalNotes>sample string 12</OriginalNotes>
  <PhotoUrl>sample string 8</PhotoUrl>
  <PhotosJson>sample string 7</PhotosJson>
  <SourceId>a08555fa-63cf-4efb-8421-e39373507b33</SourceId>
  <SourceOrigin>sample string 6</SourceOrigin>
  <SuppressedEmail>true</SuppressedEmail>
  <ThumbnailUrl>sample string 9</ThumbnailUrl>
</AccountDetailEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.