POST api/FamilyMember
Updates or Adds a family member to an account
Request Information
URI Parameters
None.
Body Parameters
The family member to add or update
FamilyMember| Name | Description | Type | Additional information |
|---|---|---|---|
| SecureSystemId | integer |
None. |
|
| Id | integer |
None. |
|
| AccountId | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| MiddleName | string |
None. |
|
| FamilyMemberTypeId | integer |
None. |
|
| GenderId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SecureSystemId": 1,
"Id": 1,
"AccountId": 2,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"MiddleName": "sample string 5",
"FamilyMemberTypeId": 6,
"GenderId": 1
}
application/xml, text/xml
Sample:
<FamilyMember xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caf.DonorCloud.Entities"> <AccountId>2</AccountId> <FamilyMemberTypeId>6</FamilyMemberTypeId> <FirstName>sample string 3</FirstName> <GenderId>1</GenderId> <Id>1</Id> <LastName>sample string 4</LastName> <MiddleName>sample string 5</MiddleName> <SecureSystemId>1</SecureSystemId> </FamilyMember>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Error information related to the operation
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.