POST api/Account/{id}
Update an existing account
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The company id, 1 for klove, 2 for air1 |
integer |
Required |
Body Parameters
The account objet to update
Account| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| SystemAccountId | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| MiddleName | string |
None. |
|
| OrganizationName | string |
None. |
|
| Dob | date |
None. |
|
| GenderId | integer |
None. |
|
| AccountTypeId | integer |
None. |
|
| OkToEmail | boolean |
None. |
|
| IsBpEligible | boolean |
None. |
|
| LastSyncTime | date |
None. |
|
| LastTaxSyncTime | date |
None. |
|
| CreateDate | date |
None. |
|
| SourceCode | string |
None. |
|
| OriginalRegistrationUrl | string |
None. |
|
| DonorPledgeEmail | string |
None. |
|
| DonorPledgeEmailType | string |
None. |
|
| ExtSystemId | globally unique identifier |
None. |
|
| ExtAccountNumber | string |
None. |
|
| SFID | string |
None. |
|
| Addresses | Collection of Address |
None. |
|
| BusinessPartners | Collection of BusinessPartner |
None. |
|
| Donations | Collection of Donation |
None. |
|
| FamilyMembers | Collection of FamilyMember |
None. |
|
| PaymentInfoes | Collection of PaymentInfo |
None. |
|
| Phones | Collection of Phone |
None. |
|
| Pledges | Collection of Pledge |
None. |
|
| Logins | Collection of Login |
None. |
|
| TaxStatements | Collection of TaxStatement |
None. |
|
| Transactions | Collection of Transaction |
None. |
|
| Subscribers | Collection of Subscriber |
None. |
|
| SecureSystemId | integer |
None. |
|
| ReadonlyMetadata | Object |
None. |
|
| UserName | string |
None. |
|
| UserNameConfirm | string |
None. |
|
| Password | string |
None. |
|
| PasswordConfirm | string |
None. |
|
| LoginList | Collection of string |
None. |
|
| CompanyId | integer |
None. |
|
| IsPartialAccount | boolean |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| HasErrors |
True if there are any errors present |
boolean |
None. |
| Errors |
The list of errors |
Collection of ApiResultError |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.