POST FamilyMembersAPI/AddFamilyMember

Request Information

URI Parameters

None.

Body Parameters

FamilyMembers
NameDescriptionTypeAdditional information
FamilyMemberID

integer

None.

pkFamilyID

integer

None.

FamilyMemberRole

string

None.

PeopleID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FamilyMemberID": 1,
  "pkFamilyID": 2,
  "FamilyMemberRole": "sample string 3",
  "PeopleID": 4
}

application/xml, text/xml

Sample:
<FamilyMembers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <FamilyMemberID>1</FamilyMemberID>
  <FamilyMemberRole>sample string 3</FamilyMemberRole>
  <PeopleID>4</PeopleID>
  <pkFamilyID>2</pkFamilyID>
</FamilyMembers>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FamilyMembers'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>