PUT api/accounts/update

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": "a5de29c3-29e5-44b9-a2ca-896ae7d878d7",
  "family_group": "sample string 5",
  "account_type_id": "be329661-d766-4d47-8c5d-333e05e14638",
  "source_id": "da082ad3-b31b-421f-9f04-5ded20c25018",
  "source_origin": "sample string 6",
  "operating_locations": [
    "f1c17c3d-a4ee-49bb-99bc-edae33307dcf",
    "eb1b71a1-9ad3-4532-b77f-2006e0dc5617"
  ],
  "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": [
    "b1a3bf14-466c-4c9e-9ee4-a6a22dc92bf5",
    "673e0066-cd17-4c59-8f29-eee1dbd7ae67"
  ],
  "area_of_interests": [
    "sample string 1",
    "sample string 2"
  ],
  "original_notes": "sample string 12",
  "notes": "sample string 13",
  "created_by_id": "fc3a0e51-f277-458c-9adf-c511efd0fe7d",
  "created_by": "sample string 14",
  "created_date": "2025-12-08T19:48:40.3622163+08:00",
  "deidentified": true,
  "mark_as_deleted": true,
  "external_activity": true,
  "suppressed_email": true,
  "auto_account_id": true,
  "id": "d9c379a5-d906-494d-b2fd-77dc3179903e",
  "subscription_id": "6360d055-097f-4c85-bf37-06acc66bb4b8",
  "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">d9c379a5-d906-494d-b2fd-77dc3179903e</Id>
  <SubscriptionId xmlns="http://schemas.datacontract.org/2004/07/CompleteEmpireApp.Api.Models.Base">6360d055-097f-4c85-bf37-06acc66bb4b8</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>be329661-d766-4d47-8c5d-333e05e14638</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>fc3a0e51-f277-458c-9adf-c511efd0fe7d</CreatedById>
  <CreatedDate>2025-12-08T19:48:40.3622163+08:00</CreatedDate>
  <Deidentified>true</Deidentified>
  <DesiredServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>b1a3bf14-466c-4c9e-9ee4-a6a22dc92bf5</d2p1:guid>
    <d2p1:guid>673e0066-cd17-4c59-8f29-eee1dbd7ae67</d2p1:guid>
  </DesiredServices>
  <ExternalActivity>true</ExternalActivity>
  <FamilyGroup>sample string 5</FamilyGroup>
  <FamilyGroupId>a5de29c3-29e5-44b9-a2ca-896ae7d878d7</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>f1c17c3d-a4ee-49bb-99bc-edae33307dcf</d2p1:guid>
    <d2p1:guid>eb1b71a1-9ad3-4532-b77f-2006e0dc5617</d2p1:guid>
  </OperatingLocations>
  <OriginalNotes>sample string 12</OriginalNotes>
  <PhotoUrl>sample string 8</PhotoUrl>
  <PhotosJson>sample string 7</PhotosJson>
  <SourceId>da082ad3-b31b-421f-9f04-5ded20c25018</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.