POST api/Members
Create member
Request Information
URI Parameters
None.
Body Parameters
MemberDtoName | Description | Type | Additional 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 |
|
string |
None. |
||
Telephone | string |
None. |
|
Mobile | string |
None. |
|
GenderTypeId | integer |
None. |
|
MemberNumber | integer |
None. |
|
CustomFields | Collection of CustomFieldDto |
None. |
|
UnionMemberNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MemberId": "c380b7a4-6498-4c2e-8a1c-ffb17b68032e", "FirstName": "sample string 1", "MiddleNames": "sample string 2", "SurName": "sample string 3", "FullName": "sample string 4", "BirthDate": "2024-11-21T10:16:16.6283957+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-21T10:16:16.6283957+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>c380b7a4-6498-4c2e-8a1c-ffb17b68032e</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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MemberDtoName | Description | Type | Additional 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 |
|
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": "2938a16e-3284-44a3-9f25-07f47c496125", "FirstName": "sample string 1", "MiddleNames": "sample string 2", "SurName": "sample string 3", "FullName": "sample string 4", "BirthDate": "2024-11-21T10:16:16.6283957+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-21T10:16:16.6283957+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>2938a16e-3284-44a3-9f25-07f47c496125</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>