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": "15ea3a73-9f8c-472e-8385-285905900341",
  "family_group": "sample string 5",
  "account_type_id": "eae033d6-f2d6-486e-b4b1-7343b4b7a4f4",
  "source_id": "827477b0-bd8d-4b91-996f-9481bb057ea9",
  "source_origin": "sample string 6",
  "operating_locations": [
    "77372143-a75b-47b1-846c-2e6acf6f697e",
    "8a2a24ac-0c6a-44ed-9f4b-1b04299b2a93"
  ],
  "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": [
    "384593fa-da80-4dc4-9dcb-f6c2f9fb1cc4",
    "ab3d6db4-022e-464a-93b2-0a80b18eb731"
  ],
  "area_of_interests": [
    "sample string 1",
    "sample string 2"
  ],
  "original_notes": "sample string 12",
  "notes": "sample string 13",
  "created_by_id": "fcf8a17b-cd9b-4485-8d20-4f492fbb028e",
  "created_by": "sample string 14",
  "created_date": "2026-04-10T20:12:52.2652322+08:00",
  "deidentified": true,
  "mark_as_deleted": true,
  "external_activity": true,
  "suppressed_email": true,
  "auto_account_id": true,
  "id": "e79d9012-18e5-4fd5-80c1-5b38d9dfc0e1",
  "subscription_id": "345dccb2-468b-484f-a99d-7591e7bef0f2",
  "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">e79d9012-18e5-4fd5-80c1-5b38d9dfc0e1</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">345dccb2-468b-484f-a99d-7591e7bef0f2</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>eae033d6-f2d6-486e-b4b1-7343b4b7a4f4</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>fcf8a17b-cd9b-4485-8d20-4f492fbb028e</CreatedById>
  <CreatedDate>2026-04-10T20:12:52.2652322+08:00</CreatedDate>
  <Deidentified>true</Deidentified>
  <DesiredServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>384593fa-da80-4dc4-9dcb-f6c2f9fb1cc4</d2p1:guid>
    <d2p1:guid>ab3d6db4-022e-464a-93b2-0a80b18eb731</d2p1:guid>
  </DesiredServices>
  <ExternalActivity>true</ExternalActivity>
  <FamilyGroup>sample string 5</FamilyGroup>
  <FamilyGroupId>15ea3a73-9f8c-472e-8385-285905900341</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>77372143-a75b-47b1-846c-2e6acf6f697e</d2p1:guid>
    <d2p1:guid>8a2a24ac-0c6a-44ed-9f4b-1b04299b2a93</d2p1:guid>
  </OperatingLocations>
  <OriginalNotes>sample string 12</OriginalNotes>
  <PhotoUrl>sample string 8</PhotoUrl>
  <PhotosJson>sample string 7</PhotosJson>
  <SourceId>827477b0-bd8d-4b91-996f-9481bb057ea9</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.