PUT api/Members

Update member

Request Information

URI Parameters

None.

Body Parameters

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.

MemberNumber

string

None.

CustomFields

Collection of CustomFieldDto

None.

Request Formats

application/json, text/json

Sample:
{
  "MemberId": "e5c6d1ce-07dc-4cec-869d-110f3014473b",
  "FirstName": "sample string 1",
  "MiddleNames": "sample string 2",
  "SurName": "sample string 3",
  "FullName": "sample string 4",
  "BirthDate": "2021-06-16T02:14:03.2016401+02: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",
  "MemberNumber": "sample string 12",
  "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"
    }
  ]
}

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>2021-06-16T02:14:03.2016401+02: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>
  <MemberId>e5c6d1ce-07dc-4cec-869d-110f3014473b</MemberId>
  <MemberNumber>sample string 12</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>
</MemberDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.

MemberNumber

string

None.

CustomFields

Collection of CustomFieldDto

None.

Response Formats

application/json, text/json

Sample:
{
  "MemberId": "f9c3db52-33e1-4f99-801c-398a07cb671c",
  "FirstName": "sample string 1",
  "MiddleNames": "sample string 2",
  "SurName": "sample string 3",
  "FullName": "sample string 4",
  "BirthDate": "2021-06-16T02:14:03.2172012+02: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",
  "MemberNumber": "sample string 12",
  "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"
    }
  ]
}

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>2021-06-16T02:14:03.2172012+02: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>
  <MemberId>f9c3db52-33e1-4f99-801c-398a07cb671c</MemberId>
  <MemberNumber>sample string 12</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>
</MemberDto>