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": "b348adb8-2858-492f-b920-b2d796600107",
  "family_group": "sample string 5",
  "account_type_id": "04075c32-b2e4-4b99-865a-c63932c6d423",
  "source_id": "815a1c27-ffb6-433b-9868-2d12ca30cafe",
  "source_origin": "sample string 6",
  "operating_locations": [
    "15c6ebc0-8c46-44a6-b5be-91f4fc4ad6d1",
    "5fab2928-02f0-4d94-a0fa-79417a11287b"
  ],
  "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": [
    "402027ee-c031-4b05-91b2-47997803f0e6",
    "b2092538-2dee-4e47-b618-f6ded132036f"
  ],
  "area_of_interests": [
    "sample string 1",
    "sample string 2"
  ],
  "original_notes": "sample string 12",
  "notes": "sample string 13",
  "created_by_id": "e6872156-b5c2-4921-9f44-2026dbbca5be",
  "created_by": "sample string 14",
  "created_date": "2026-08-08T15:03:07.6074799+08:00",
  "deidentified": true,
  "mark_as_deleted": true,
  "external_activity": true,
  "suppressed_email": true,
  "auto_account_id": true,
  "id": "4baecf27-9f08-4f10-bde7-c10be8b9ba33",
  "subscription_id": "d8aa2b97-0bee-4e32-90e4-579a960dbd8c",
  "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">4baecf27-9f08-4f10-bde7-c10be8b9ba33</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">d8aa2b97-0bee-4e32-90e4-579a960dbd8c</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>04075c32-b2e4-4b99-865a-c63932c6d423</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>e6872156-b5c2-4921-9f44-2026dbbca5be</CreatedById>
  <CreatedDate>2026-08-08T15:03:07.6074799+08:00</CreatedDate>
  <Deidentified>true</Deidentified>
  <DesiredServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>402027ee-c031-4b05-91b2-47997803f0e6</d2p1:guid>
    <d2p1:guid>b2092538-2dee-4e47-b618-f6ded132036f</d2p1:guid>
  </DesiredServices>
  <ExternalActivity>true</ExternalActivity>
  <FamilyGroup>sample string 5</FamilyGroup>
  <FamilyGroupId>b348adb8-2858-492f-b920-b2d796600107</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>15c6ebc0-8c46-44a6-b5be-91f4fc4ad6d1</d2p1:guid>
    <d2p1:guid>5fab2928-02f0-4d94-a0fa-79417a11287b</d2p1:guid>
  </OperatingLocations>
  <OriginalNotes>sample string 12</OriginalNotes>
  <PhotoUrl>sample string 8</PhotoUrl>
  <PhotosJson>sample string 7</PhotosJson>
  <SourceId>815a1c27-ffb6-433b-9868-2d12ca30cafe</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.