POST api/updateaccount
Request Information
URI Parameters
None.
Body Parameters
AccountsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountKey | integer |
None. |
|
| AccountId | globally unique identifier |
None. |
|
| AccountType | integer |
None. |
|
| AccountName | string |
None. |
|
| Address | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| ZipCode | string |
None. |
|
| Country | string |
None. |
|
| AccountEmail | string |
None. |
|
| AccountPhone | string |
None. |
|
| AccountPhoneCode | string |
None. |
|
| Website | string |
None. |
|
| AccountStatus | integer |
None. |
|
| Category | string |
None. |
|
| RegType | string |
None. |
|
| ReferKey | globally unique identifier |
None. |
|
| MetaData | string |
None. |
|
| IsIpRestrict | boolean |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | globally unique identifier |
None. |
|
| DeletedOn | date |
None. |
|
| DeletedBy | globally unique identifier |
None. |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| PrimaryContactId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountKey": 1,
"AccountId": "6a9c462c-ee01-4365-905d-9e00747260f6",
"AccountType": 1,
"AccountName": "sample string 1",
"Address": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"ZipCode": "sample string 5",
"Country": "sample string 6",
"AccountEmail": "sample string 7",
"AccountPhone": "sample string 8",
"AccountPhoneCode": "sample string 9",
"Website": "sample string 10",
"AccountStatus": 1,
"Category": "sample string 11",
"RegType": "sample string 12",
"ReferKey": "45612114-faa6-4c61-b1b0-3bac9ecda072",
"MetaData": "sample string 13",
"IsIpRestrict": true,
"CreatedOn": "2026-03-08T15:41:31.0144362+00:00",
"CreatedBy": "9c4833fa-2b7a-4710-b0cd-fc302125e7d5",
"ModifiedOn": "2026-03-08T15:41:31.0144362+00:00",
"ModifiedBy": "bc7d4f16-cbf5-44f7-aada-267b90912ab5",
"DeletedOn": "2026-03-08T15:41:31.0144362+00:00",
"DeletedBy": "8746823d-2527-4bff-be8b-6dd0b89dabe2",
"ValidFrom": "2026-03-08T15:41:31.0144362+00:00",
"ValidTo": "2026-03-08T15:41:31.0144362+00:00",
"PrimaryContactId": "d552c1a8-9ae1-4a3d-800f-72f76a68cea5"
}
application/xml, text/xml
Sample:
<AccountsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <AccountEmail>sample string 7</AccountEmail> <AccountId>6a9c462c-ee01-4365-905d-9e00747260f6</AccountId> <AccountKey>1</AccountKey> <AccountName>sample string 1</AccountName> <AccountPhone>sample string 8</AccountPhone> <AccountPhoneCode>sample string 9</AccountPhoneCode> <AccountStatus>1</AccountStatus> <AccountType>1</AccountType> <Address>sample string 2</Address> <Category>sample string 11</Category> <City>sample string 3</City> <Country>sample string 6</Country> <CreatedBy>9c4833fa-2b7a-4710-b0cd-fc302125e7d5</CreatedBy> <CreatedOn>2026-03-08T15:41:31.0144362+00:00</CreatedOn> <DeletedBy>8746823d-2527-4bff-be8b-6dd0b89dabe2</DeletedBy> <DeletedOn>2026-03-08T15:41:31.0144362+00:00</DeletedOn> <IsIpRestrict>true</IsIpRestrict> <MetaData>sample string 13</MetaData> <ModifiedBy>bc7d4f16-cbf5-44f7-aada-267b90912ab5</ModifiedBy> <ModifiedOn>2026-03-08T15:41:31.0144362+00:00</ModifiedOn> <PrimaryContactId>d552c1a8-9ae1-4a3d-800f-72f76a68cea5</PrimaryContactId> <ReferKey>45612114-faa6-4c61-b1b0-3bac9ecda072</ReferKey> <RegType>sample string 12</RegType> <State>sample string 4</State> <ValidFrom>2026-03-08T15:41:31.0144362+00:00</ValidFrom> <ValidTo>2026-03-08T15:41:31.0144362+00:00</ValidTo> <Website>sample string 10</Website> <ZipCode>sample string 5</ZipCode> </AccountsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.