GET api/members/{member_number}?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
member_number

string

Required

token

string

Required

Body Parameters

None.

Response Information

Resource Description

GetMembersViewModel
NameDescriptionTypeAdditional information
Source

string

None.

Language

string

None.

ResultsCount

integer

None.

Member

GetMemberViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "source": "sample string 1",
  "language": "sample string 2",
  "resultsCount": 3,
  "member": {
    "moma_membership_frozen__c": 1,
    "moma_membership_expiration_date__c": "2020-07-12T05:46:41.1119033-04:00",
    "moma_date_membership_rescinded__c": "2020-07-12T05:46:41.1119033-04:00",
    "name": "sample string 1",
    "corporate_membership_forced_lapse_date__c": "2020-07-12T05:46:41.1275273-04:00",
    "isdeleted": 1,
    "moma_membership_exception__c": "sample string 2",
    "createddate": "2020-07-12T05:46:41.1275273-04:00",
    "cems_constituent_id__c": "sample string 3",
    "sfid": "sample string 4",
    "id": 1,
    "recordtypeid": "sample string 5",
    "moma_corporate_membership_type__c": "sample string 6",
    "moma_membership_category__c": "sample string 7",
    "moma_email__c": "sample string 8",
    "moma_account_record_id__c": "sample string 9",
    "moma_account_number__c": 10.1,
    "moma_addressee_detail_line_2__c": "sample string 11",
    "billingstatecode": "sample string 12",
    "moma_addressee_detail_line_1__c": "sample string 13",
    "billingcity": "sample string 14",
    "billingcountrycode": "sample string 15",
    "phone": "sample string 16",
    "billingpostalcode": "sample string 17",
    "md_active__c": 1,
    "type": "sample string 18",
    "billingstreet": "sample string 19"
  }
}

text/xml

Sample:
<GetMembersViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/moma_tms_api.Models">
  <Language>sample string 2</Language>
  <Member>
    <billingcity>sample string 14</billingcity>
    <billingcountrycode>sample string 15</billingcountrycode>
    <billingpostalcode>sample string 17</billingpostalcode>
    <billingstatecode>sample string 12</billingstatecode>
    <billingstreet>sample string 19</billingstreet>
    <cems_constituent_id__c>sample string 3</cems_constituent_id__c>
    <corporate_membership_forced_lapse_date__c>2020-07-12T05:46:41.1275273-04:00</corporate_membership_forced_lapse_date__c>
    <createddate>2020-07-12T05:46:41.1275273-04:00</createddate>
    <id>1</id>
    <isdeleted>1</isdeleted>
    <md_active__c>1</md_active__c>
    <moma_account_number__c>10.1</moma_account_number__c>
    <moma_account_record_id__c>sample string 9</moma_account_record_id__c>
    <moma_addressee_detail_line_1__c>sample string 13</moma_addressee_detail_line_1__c>
    <moma_addressee_detail_line_2__c>sample string 11</moma_addressee_detail_line_2__c>
    <moma_corporate_membership_type__c>sample string 6</moma_corporate_membership_type__c>
    <moma_date_membership_rescinded__c>2020-07-12T05:46:41.1119033-04:00</moma_date_membership_rescinded__c>
    <moma_email__c>sample string 8</moma_email__c>
    <moma_membership_category__c>sample string 7</moma_membership_category__c>
    <moma_membership_exception__c>sample string 2</moma_membership_exception__c>
    <moma_membership_expiration_date__c>2020-07-12T05:46:41.1119033-04:00</moma_membership_expiration_date__c>
    <moma_membership_frozen__c>1</moma_membership_frozen__c>
    <name>sample string 1</name>
    <phone>sample string 16</phone>
    <recordtypeid>sample string 5</recordtypeid>
    <sfid>sample string 4</sfid>
    <type>sample string 18</type>
  </Member>
  <ResultsCount>3</ResultsCount>
  <Source>sample string 1</Source>
</GetMembersViewModel>