GET /v1/GroupMembers

Return

Returns Group Members data.

Endpoint URL

https://api.wealthtechs.com/v1/GroupMembers

Authorization

// Authorization via JWT Token.

Authorization: Bearer <YourToken>

Parameters

TypeFormatRequired
GroupIdinteger($int32)Optional

Responses

CodeType
200Success
400Bad Request
401Unauthorized

Example Code

// JavaScript example using fetch() API

// Store your JWT token in a variable
let token = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySW5mbyI6IntcIklkXCI6OTM0LFwiSWRlbnRpdHlJZFwiOlwiNDI5NmIyMzItZGUxYy00YWZhLWFlYmItNDY5ZDYxZWU0NzJjXCIsXCJVc2VyTmFtZVwiOlwiTUFaT1o0NFwiLFwiRW1haWxcIjpcIm1hdGlhc3pvQHdlYWx0aHRlY2hzLmNvbVwiLFwiRmlyc3ROYW1lXCI6XCJNYXRpYXNcIixcIkxhc3ROYW1lXCI6XCJab3pheWFcIixcIklzQ2xpZW50VXNlclwiOmZhbHNlfSIsIm5iZiI6MTY5NDU0NDM2MiwiZXhwIjoxNjk0NjMwNzYyLCJpc3MiOiJXZWFsdGhUZWNocyIsImF1ZCI6IkFQSVVzZXJzIn0.6auZH-83ML_cDo2bqbgECvKcsvXOefbVg68xq-0di2g';

// Set your desired parameters
let groupId = '16';

// Make the request and log the response
fetch(`https://api.wealthtechs.com/v1/GroupMembers?GroupId=${groupId}`, {
  headers: new Headers({
    "Authorization": "Bearer " + token,
  }),
})
.then(response => response.json())
.then(data => console.log(data));

Example Response

[
  {
    "accountId": "string",
    "masterAccountNumber": "string",
    "accountNumber": "string",
    "accountName": "string",
    "amount": "string",
    "notes": "string",
    "status": "string",
    "updatedDate": "string",
    "addedDate": "string",
    "startReceiveDate": "string",
    "addedBy": "string",
    "custodian": "string",
    "custodianDataId": "string",
    "custodianFullName": "string",
    "hasAcc": "string",
    "hasTrn": "string",
    "hasPos": "string",
    "hasLot": "string",
    "accountDomicileCountry": "string",
    "accountCurrency": "string",
    "accountType": "string",
    "noRmConsent": "string",
    "relationshipManagerFirstName": "string",
    "relationshipManagerLastName": "string",
    "relationshipManagerEmail": "string",
    "relationshipManagerPhone": "string",
    "groupId": "string",
    "groupName": "string",
    "legalEntityCode": "string",
    "groupType": "string",
    "customerId": "string",
    "customer": "string"
  }
]