GET api/Members/{id}

Get member by id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

MemberDto
NameDescriptionTypeAdditional information
MemberId

globally unique identifier

None.

FirstName

string

Required

MiddleNames

string

None.

SurName

string

Required

FullName

string

None.

BirthDate

date

None.

AddressLine1

string

Required

AddressLine2

string

None.

PostalCode

string

Required

City

string

Required

Email

string

None.

Telephone

string

None.

Mobile

string

None.

GenderTypeId

integer

None.

MemberNumber

integer

None.

CustomFields

Collection of CustomFieldDto

None.

UnionMemberNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "MemberId": "e60e9ac3-5ccb-40b2-b273-a8ec268f2d09",
  "FirstName": "sample string 1",
  "MiddleNames": "sample string 2",
  "SurName": "sample string 3",
  "FullName": "sample string 4",
  "BirthDate": "2024-11-21T09:52:49.3942902+01:00",
  "AddressLine1": "sample string 5",
  "AddressLine2": "sample string 6",
  "PostalCode": "sample string 7",
  "City": "sample string 8",
  "Email": "sample string 9",
  "Telephone": "sample string 10",
  "Mobile": "sample string 11",
  "GenderTypeId": 12,
  "MemberNumber": 13,
  "CustomFields": [
    {
      "FieldName": "sample string 1",
      "FieldValue": "sample string 2",
      "FieldType": "sample string 3"
    },
    {
      "FieldName": "sample string 1",
      "FieldValue": "sample string 2",
      "FieldType": "sample string 3"
    }
  ],
  "UnionMemberNumber": "sample string 14"
}

application/xml, text/xml

Sample:
<MemberDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <AddressLine1>sample string 5</AddressLine1>
  <AddressLine2>sample string 6</AddressLine2>
  <BirthDate>2024-11-21T09:52:49.3942902+01:00</BirthDate>
  <City>sample string 8</City>
  <CustomFields>
    <CustomFieldDto>
      <FieldName>sample string 1</FieldName>
      <FieldType>sample string 3</FieldType>
      <FieldValue>sample string 2</FieldValue>
    </CustomFieldDto>
    <CustomFieldDto>
      <FieldName>sample string 1</FieldName>
      <FieldType>sample string 3</FieldType>
      <FieldValue>sample string 2</FieldValue>
    </CustomFieldDto>
  </CustomFields>
  <Email>sample string 9</Email>
  <FirstName>sample string 1</FirstName>
  <FullName>sample string 4</FullName>
  <GenderTypeId>12</GenderTypeId>
  <MemberId>e60e9ac3-5ccb-40b2-b273-a8ec268f2d09</MemberId>
  <MemberNumber>13</MemberNumber>
  <MiddleNames>sample string 2</MiddleNames>
  <Mobile>sample string 11</Mobile>
  <PostalCode>sample string 7</PostalCode>
  <SurName>sample string 3</SurName>
  <Telephone>sample string 10</Telephone>
  <UnionMemberNumber>sample string 14</UnionMemberNumber>
</MemberDto>