POST api/updateaccount
Request Information
URI Parameters
None.
Body Parameters
AccountsModelName | 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": "f8088f38-ce3c-46f6-b197-24bb5bd9efe4", "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": "effb376e-6105-4741-bcbc-435f8ab27e9e", "MetaData": "sample string 13", "IsIpRestrict": true, "CreatedOn": "2025-04-20T20:06:01.7171863+00:00", "CreatedBy": "4ecd35d2-11fc-45c8-871c-82bce1e05ad5", "ModifiedOn": "2025-04-20T20:06:01.7171863+00:00", "ModifiedBy": "e07bb7cf-3a26-4620-a48f-a591fb1c1248", "DeletedOn": "2025-04-20T20:06:01.7171863+00:00", "DeletedBy": "7d7538d3-fc92-4f4b-b054-7cc9cecb7b98", "ValidFrom": "2025-04-20T20:06:01.7171863+00:00", "ValidTo": "2025-04-20T20:06:01.7171863+00:00", "PrimaryContactId": "9dbf672f-276c-4db3-95e4-52db63142c45" }
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>f8088f38-ce3c-46f6-b197-24bb5bd9efe4</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>4ecd35d2-11fc-45c8-871c-82bce1e05ad5</CreatedBy> <CreatedOn>2025-04-20T20:06:01.7171863+00:00</CreatedOn> <DeletedBy>7d7538d3-fc92-4f4b-b054-7cc9cecb7b98</DeletedBy> <DeletedOn>2025-04-20T20:06:01.7171863+00:00</DeletedOn> <IsIpRestrict>true</IsIpRestrict> <MetaData>sample string 13</MetaData> <ModifiedBy>e07bb7cf-3a26-4620-a48f-a591fb1c1248</ModifiedBy> <ModifiedOn>2025-04-20T20:06:01.7171863+00:00</ModifiedOn> <PrimaryContactId>9dbf672f-276c-4db3-95e4-52db63142c45</PrimaryContactId> <ReferKey>effb376e-6105-4741-bcbc-435f8ab27e9e</ReferKey> <RegType>sample string 12</RegType> <State>sample string 4</State> <ValidFrom>2025-04-20T20:06:01.7171863+00:00</ValidFrom> <ValidTo>2025-04-20T20:06:01.7171863+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.