{"info":{"_postman_id":"6733d859-b434-4ad6-b93b-01813ccc67bd","name":"MeMD Partner API (current published)","description":"<html><head></head><body><p><img src=\"https://i.pinimg.com/280x280_RS/5c/29/ea/5c29ea19ac382010bf504cc9a5d7d740.jpg\" alt=\"Image Alt Text\"><br><br></p>\n<p><strong>Introduction</strong><br><br>\nMeMD provides a Partner API for persisting and accessing certain data from your MeMD account. Anyone can develop an application to access and modify their MeMD own member's data on their behalf, so long as it complies with <a href=\"https://www.memd.net/terms-conditions\"><strong>MeMD Platform Terms of Service</strong></a> and <a href=\"https://www.hhs.gov/hipaa/index.html\"><strong>HIPAA regulations</strong></a>.\n<br><br>\nThe MeMD Partner API is organized around <a href=\"https://en.wikipedia.org/wiki/Representational_state_transfer\"><strong>REST</strong></a>. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.\n<br><br>\nYou can use the MeMD Partner API in development mode, which does not affect your live data or interact with our production networks. Both the API key you use and the api url are used in conjunction in order to authenticate the request and also determines whether the request is live mode or dev mode. <br><br>Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.<br><br>\nAll API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.\n<br><br>\n <strong>Quick Start</strong> </p>\n<ul>\n<li>Review the basics about how the MeMD Partner API works.</li>\n<li>Register your partner user account to get API client credentials. You will need a MeMD account to register individual partner user accounts. Each partner user in your account will be given a unique client identifier and secret token.</li>\n<li>Make HTTPS requests to access data. The different types of data available via the Partner API are listed in the left navigation bar.</li>\n<li>Note that the tilde character ( ~ ) should be used in every api call as the account id path parameter, this identifies every caller based on their token.</li>\n<li>Your unique account api keys are used to determine which environment you are connected to.  You will be given a Production API Key once you have submitted a request and passed our Production enabling tests.</li>\n</ul>\nIf you have a server app and want to be notified when members have new data available or have activated their account, implement our <strong>Subscriptions API</strong>.\n<br><br>\nIf you need help, we're here for you!</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"46863","collectionId":"6733d859-b434-4ad6-b93b-01813ccc67bd","publishedId":"SzYaUxvJ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-13T20:43:48.000Z"},"item":[{"name":"V1 .NET Partner API","item":[],"id":"40b01454-7f19-45d3-8e8a-58da297235f1","_postman_id":"40b01454-7f19-45d3-8e8a-58da297235f1","description":""},{"name":"v2 .NET Partner API","item":[],"id":"1164b07f-111f-4505-b650-4efb88519804","_postman_id":"1164b07f-111f-4505-b650-4efb88519804","description":""},{"name":"Partner Manuals","item":[],"id":"227df267-4327-4cda-a70c-5afd9f150115","_postman_id":"227df267-4327-4cda-a70c-5afd9f150115","description":""},{"name":"GET TOKEN","event":[{"listen":"test","script":{"id":"3a41f5a9-1135-4579-958e-e6f132bfb697","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"aws_partner_bearer_token\", \r","jsonData.result.idToken.jwtToken);"],"type":"text/javascript"}}],"id":"87dc723c-cb69-42c5-959b-e8157f1473e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\",\n  \"client_id\": \"{{client_id}}\",\n  \"client_secret\": \"{{client_secret}}\"\n}"},"url":"{{aws_partner_url}}/auth/token","description":"<p>Creates a bearer token for access without requiring basic authentication. Each partner user must your their own set of credentials including <strong>username, password, client_id, client_secret</strong>, in order retrieve a valid token. Also, each account is given a unique <strong>api key</strong> which is required in the header of every api call.</p>\n<p>The get token API takes the same parameters as a typical OAuth 2.0 token API except for the use of a JSON request body.</p>\n<p>A successful get token API call returns a JSON structure that contains the <strong>jwtToken</strong> and <strong>refreshToken</strong>. You must use the <strong>jwtToken</strong> for subsequent api calls. </p>\n<p>The jwtToken returned by the GET TOKEN API has a finite period of time (1 hour) for which it is valid and after that time period, it can no longer be used.</p>\n<p>NOTE: The provided example is using Postman global variables, please be sure to surround the body variables with double-quotes.</p>\n","urlObject":{"path":["auth","token"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[{"id":"ec5ce26a-4472-42c9-9a0d-193f6e1dc0b3","name":"GET TOKEN - Invalid Credentials","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\",\n  \"client_id\": \"{{client_id}}\",\n  \"client_secret\": \"{{client_secret}}\"\n}"},"url":"{{aws_partner_url}}/auth/token"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Apr 2020 22:00:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"218"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"dede6838-39ed-4bd7-948f-a595db8a3e78"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"KYP_IGMKvHcFg8Q="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e866060-9ce93ca0575bc7a00d1bb0f8;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"ERROR\",\n    \"statusCode\": 404,\n    \"message\": \"Failed to get token.\",\n    \"functionName\": \"/authorization/gettoken\",\n    \"isDeprecated\": false,\n    \"result\": null,\n    \"error\": \"No user found with those credentials!\"\n}"},{"id":"eee243dd-7013-406a-b7ca-3e9e5d689e78","name":"GET TOKEN - Successful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"{{username}}\",\n  \"password\": \"{{password}}\",\n  \"client_id\": \"{{client_id}}\",\n  \"client_secret\": \"{{client_secret}}\"\n}"},"url":"{{aws_partner_url}}/auth/token"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Apr 2020 18:30:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4613"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"4ba05813-a66b-4ac6-bc73-1d7cfcafdfc3"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"KXxQnGbivHcFg8A="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e862f37-bc0e90c0aea70c90645a80d0;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 201,\n    \"message\": \"Successful!\",\n    \"functionName\": \"/authorization/gettoken\",\n    \"isDeprecated\": false,\n    \"result\": {\n        \"idToken\": {\n            \"jwtToken\": \"XXXX\"\n        },\n        \"refreshToken\": {\n            \"token\": \"XXXX\"\n        }\n    },\n    \"error\": null\n}"}],"_postman_id":"87dc723c-cb69-42c5-959b-e8157f1473e6"},{"name":"REFRESH TOKEN","event":[{"listen":"test","script":{"id":"3a41f5a9-1135-4579-958e-e6f132bfb697","exec":["var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"aws_partner_bearer_token\", \r","jsonData.result.idToken.jwtToken);"],"type":"text/javascript"}}],"id":"fe4c8d8c-0f77-445c-a598-cefd8cd6237c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"}],"body":{"mode":"raw","raw":"{\n  \"username\": {{username}},\n  \"refreshToken\": {{refreshToken}}\n}"},"url":"{{aws_partner_url}}/auth/refreshtoken","description":"<p>Used to obtain a new set of tokens after the initial authenticated user get token has expired.</p>\n<p><strong>JSON Attributes:</strong></p>\n<hr />\n<strong>username</strong> - String <strong>(required)</strong>\n<br />\nThe username associated with the original jwtToken.\n<hr />\n<strong>refreshToken</strong> - String <strong>(required)</strong>\n<br />\nThe refresh token from the original GET TOKEN call.","urlObject":{"path":["auth","refreshtoken"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[{"id":"87ea757e-e11e-4e5f-b3a9-f0bf8cde1a45","name":"REFRESH TOKEN - Invalid Refresh Token Provided","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"}],"body":{"mode":"raw","raw":"{\n  \"username\": \"jgalindo_portal@memd.me\",\n  \"refreshToken\": \"eyJraWQiOiJab2VnSlRBcDFGNFozY21JQklsc0p4VjlFcXZuU0ZPSlU3SStHY05TeDNrPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI0YjNjMDE4NC0yZjQyLTQ5NmMtYWRhYi0zMzE0ZWUxMDJmY2EiLCJjb2duaXRvOmdyb3VwcyI6WyJQb3J0YWwtQWRtaW4iLCJQb3J0YWwtVXNlciJdLCJldmVudF9pZCI6ImEyZmYwNTM0LTdiYjgtNGE4NS04ZWVmLWZmMjY5ODg2N2E1NSIsInRva2VuX3VzZSI6ImFjY2VzcyIsInNjb3BlIjoiYXdzLmNvZ25pdG8uc2lnbmluLnVzZXIuYWRtaW4iLCJhdXRoX3RpbWUiOjE1ODU5MzA1OTEsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy13ZXN0LTIuYW1hem9uYXdzLmNvbVwvdXMtd2VzdC0yX05YbGdkRkgzYiIsImV4cCI6MTU4NTkzNDE5MSwiaWF0IjoxNTg1OTMwNTkxLCJqdGkiOiIyMWE2NTk5OC02YmFmLTQ4ODktOGRlOC1jN2Q3OWQ0MWQ5YWUiLCJjbGllbnRfaWQiOiI0ZWNoM2NtaWVncHYybjJpbXZlZTkyMWcydiIsInVzZXJuYW1lIjoiamdhbGluZG9fcG9ydGFsQG1lbWQubWUifQ.aVZdKpRoEzryqnZs9b9SJBb1fe0U9pttXxEiFeasQdsiM8-My_IX1eQKhMDy3ni2je9hsigtBig9GSO1Mz5yt8NE8ecG9ujtK3Jbe2QSl_zLVwMUvGVGmL7adRjGq_2SyUCl0oG4UrUJFFnCGBYJnqk15M0Zb-cq000AVo4xkEg800DFW_hn0jPCc8Tu89UUyFlBjC1Rcs7Nh4cBrJNpH9_9FW3dXvxkqc0EANpHlMjLvUkcIefp77donOceY_g22yoApAhfzXOPm7RJ-4GFE6mxA4nI-KSyHeM8lai2xPWCCcdRRZuUSwxIBWNQsTM55cJDkR6KERfxkWvGnLlEcw\"\n}"},"url":"{{aws_partner_url}}/auth/refreshtoken"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Apr 2020 16:24:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"202"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"e42fb5b1-80d1-4e17-978b-72298c4638de"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"KaxwUHabPHcFjTA="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e876335-d0be2ebfbe37393821a3c72a;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"ERROR\",\n    \"statusCode\": 403,\n    \"message\": \"Failed to get token.\",\n    \"functionName\": \"/authorization/refreshtoken\",\n    \"isDeprecated\": false,\n    \"result\": null,\n    \"error\": \"Invalid Refresh Token\"\n}"},{"id":"a8fff857-4cb9-41da-b941-3d8aa37b8251","name":"REFRESH TOKEN - Successful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"}],"body":{"mode":"raw","raw":"{\n  \"username\": {{username}},\n  \"refreshToken\": {{refresh_token}}\n}"},"url":"{{aws_partner_url}}/auth/refreshtoken"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Apr 2020 16:17:25 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"4573"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"c3ba7a20-2b0c-4fc3-93fa-0a42baf57890"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"x-amz-apigw-id","value":"KawvKHToPHcFStw="},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e876194-6ba97f1d20cc5ee75e298c21;Sampled=0"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 201,\n    \"message\": \"Successful!\",\n    \"functionName\": \"/authorization/refreshtoken\",\n    \"isDeprecated\": false,\n    \"result\": {\n        \"idToken\": \"XXXX\",\n        \"refreshToken\": \"XXXX\"\n    },\n    \"error\": null\n}"}],"_postman_id":"fe4c8d8c-0f77-445c-a598-cefd8cd6237c"},{"name":"GET ACCOUNT MEMBERS","id":"589ba174-7db5-428c-99ee-d711499a1b6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"url":"{{aws_partner_url}}/v4/accounts/~/members?memberstatus=inactive","description":"<p>Allows you to retrieve a list of members which have been on-boarded into your account. You can pass in the following values of \"<strong>active</strong>\",\"<strong>inactive</strong>\", or \"<strong>all</strong>\" for the <strong>memberstatus</strong> query parameter to retrieve members by their current status. Active = 1 means that they have performed the step of creating a password for their account.</p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong><br />\nThe tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n","urlObject":{"path":["v4","accounts","~","members"],"host":["{{aws_partner_url}}"],"query":[{"key":"memberstatus","value":"inactive"}],"variable":[]}},"response":[{"id":"a612c30a-e762-4505-b311-ecc7edb360af","name":"GET ACCOUNT MEMBERS - Successful","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"url":{"raw":"{{aws_partner_url}}/v4/accounts/1153/members?memberstatus=all","host":["{{aws_partner_url}}"],"path":["v4","accounts","1153","members"],"query":[{"key":"memberstatus","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Apr 2020 21:17:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"528"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"4513b8aa-ffe9-42fd-ba7a-874e5592538f"},{"key":"access-control-allow-origin","value":"undefined"},{"key":"x-amzn-Remapped-content-length","value":"528"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"KYJseF1QPHcF3ow="},{"key":"etag","value":"W/\"210-W8kyW4tBoHGRfg6fhIA2lptak2A\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e86564f-994dfc53a16955f43ef73bec;Sampled=0"},{"key":"x-amzn-Remapped-date","value":"Thu, 02 Apr 2020 21:17:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 200,\n    \"message\": \"Successful!\",\n    \"functionName\": \"getMembersByAccountId\",\n    \"functionRoute\": \"/accounts/:accountid/members\",\n    \"isDeprecated\": false,\n    \"result\": [\n        {\n            \"UserId\": 1643433,\n            \"UserProfileId\": 1762162,\n            \"UserProfileFirstName\": \"Testy\",\n            \"UserProfileMiddleName\": \"L\",\n            \"UserProfileLastName\": \"Testerton\",\n            \"GroupId\": 2517,\n            \"GroupName\": \"test drive group\",\n            \"UserExternalUserId\": \"927335\",\n            \"PolicyParentRelationship\": \"18\",\n            \"GroupDependentsAllowed\": true,\n            \"PolicyIsActive\": 1,\n            \"MemberPolicyId\": null,\n            \"IsActive\": 0\n        }\n    ],\n    \"error\": null\n}"}],"_postman_id":"589ba174-7db5-428c-99ee-d711499a1b6c"},{"name":"GET ACCOUNT MEMBERS - Paged","id":"16cd914e-19c6-4a67-ab51-8daedaef0b42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"url":"{{aws_partner_url}}/v4/accounts/~/members/paged?memberstatus=active&startswith=0&page=1&size=10000","description":"<p>Allows you to retrieve a list of members which have been on-boarded into your account. You can pass in the following values of \"<strong>active</strong>\",\"<strong>inactive</strong>\", or \"<strong>activated</strong>\" for the <strong>memberstatus</strong> query parameter to retrieve members by their current status. Active = 1 means that they have performed the step of creating a password for their account.</p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong></p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n<p><strong>Query Params:</strong></p>\n<p><strong>memberstatus</strong> - String <strong>(required)</strong></p>\n<p>Valid values are <strong>active</strong>, <strong>inactive</strong>, or <strong>activated</strong>.</p>\n<p><strong>page</strong> - Integer <strong>(required)</strong></p>\n<p>Page size for when results are larger than provided size</p>\n<p><strong>size</strong> - Integer <strong>(optional)</strong></p>\n<p>Maximum number of results. Default: 10,000. Maximum: 10,000.</p>\n<p><strong>startswith</strong> - String <strong>(optional)</strong></p>\n<p>Return members whose first name starts with provided value</p>\n","urlObject":{"path":["v4","accounts","~","members","paged"],"host":["{{aws_partner_url}}"],"query":[{"key":"memberstatus","value":"active"},{"key":"startswith","value":"0"},{"key":"page","value":"1"},{"key":"size","value":"10000"}],"variable":[]}},"response":[{"id":"1cc5bcc3-e9a9-49e5-8a39-c6516297f0d5","name":"GET ACCOUNT MEMBERS - Paged - Successful","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"url":{"raw":"{{aws_partner_url}}/v4/accounts/1153/members?memberstatus=all","host":["{{aws_partner_url}}"],"path":["v4","accounts","1153","members"],"query":[{"key":"memberstatus","value":"all"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Apr 2020 21:17:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"528"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"4513b8aa-ffe9-42fd-ba7a-874e5592538f"},{"key":"access-control-allow-origin","value":"undefined"},{"key":"x-amzn-Remapped-content-length","value":"528"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"KYJseF1QPHcF3ow="},{"key":"etag","value":"W/\"210-W8kyW4tBoHGRfg6fhIA2lptak2A\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e86564f-994dfc53a16955f43ef73bec;Sampled=0"},{"key":"x-amzn-Remapped-date","value":"Thu, 02 Apr 2020 21:17:03 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 200,\n    \"message\": \"Successful!\",\n    \"functionName\": \"getMembersByAccountId\",\n    \"functionRoute\": \"/accounts/:accountid/members\",\n    \"isDeprecated\": false,\n    \"result\": [\n        {\n            \"UserId\": 1643433,\n            \"UserProfileId\": 1762162,\n            \"UserProfileFirstName\": \"Testy\",\n            \"UserProfileMiddleName\": \"L\",\n            \"UserProfileLastName\": \"Testerton\",\n            \"GroupId\": 2517,\n            \"GroupName\": \"test drive group\",\n            \"UserExternalUserId\": \"927335\",\n            \"PolicyParentRelationship\": \"18\",\n            \"GroupDependentsAllowed\": true,\n            \"PolicyIsActive\": 1,\n            \"MemberPolicyId\": null,\n            \"IsActive\": 0\n        }\n    ],\n    \"error\": null\n}"}],"_postman_id":"16cd914e-19c6-4a67-ab51-8daedaef0b42"},{"name":"GET MEMBER DETAILS","id":"8e95e910-ba48-4276-abdd-09a6fa959b51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}","description":"<p>Retrieves specific details of a member and their policies. It may return more than one record when a member has multiple policies. The response payload will also display the member's status. Active = 1 means that they have performed the step of creating a password for their account.</p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong>  </p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.  </p>\n<p><strong>externaluserid</strong> - String <strong>(required)</strong></p>\n<p>The unique member identifier that identifies the primary member that a dependent belongs to.</p>\n<hr />\n","urlObject":{"path":["v4","accounts","~","members","{{externaluserid}}"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[{"id":"40bbf9d4-4e64-409e-8924-72dffe37363a","name":"GET MEMBER DETAILS - Invalid Member Id","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Apr 2020 17:26:47 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"281"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"7fdcc9ea-f3b6-4a68-af86-f815d71b84b2"},{"key":"access-control-allow-origin","value":"undefined"},{"key":"x-amzn-Remapped-content-length","value":"281"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"Ka65nEm5PHcFc8w="},{"key":"etag","value":"W/\"119-iCV8WCQZKX8xr1CNfg46zmygRrE\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e8771d7-e6ece87612c15c986345bf7a;Sampled=0"},{"key":"x-amzn-Remapped-date","value":"Fri, 03 Apr 2020 17:26:47 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 400,\n    \"message\": \"There was an error retrieving account member details\",\n    \"functionName\": \"getMemberDetails\",\n    \"functionRoute\": \"/accounts/:accountid/members/:externaluserid\",\n    \"isDeprecated\": false,\n    \"result\": null,\n    \"error\": \"Unauthorized request!\"\n}"},{"id":"90d7cc39-2d47-41f9-b10c-bd0662a15432","name":"GET MEMBER DETAILS - Successful","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Apr 2020 17:01:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2230"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a7b033f6-44f1-471b-99b1-79d07ed13253"},{"key":"access-control-allow-origin","value":"undefined"},{"key":"x-amzn-Remapped-content-length","value":"2230"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"Ka3P1H7UPHcF_Kg="},{"key":"etag","value":"W/\"8b6-VwA7XONmGUruRBZ1emm39DsHgck\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e876bfe-7e26e22efad4c734f3af932a;Sampled=0"},{"key":"x-amzn-Remapped-date","value":"Fri, 03 Apr 2020 17:01:50 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 200,\n    \"message\": \"Successful!\",\n    \"functionName\": \"getMemberDetails\",\n    \"functionRoute\": \"/accounts/:accountid/members/:externaluserid\",\n    \"isDeprecated\": false,\n    \"result\": [\n        {\n            \"UserId\": 1643433,\n            \"UserProfileId\": 1762162,\n            \"UserProfileFirstName\": \"Testy\",\n            \"UserProfileMiddleName\": \"L\",\n            \"UserProfileLastName\": \"Testerton\",\n            \"UserProfileIsUnderage\": 0,\n            \"UserProfileIsUnder26\": 0,\n            \"UserProfilefromImport\": false,\n            \"UserProfileAddress1\": \"3084 Constable St.\",\n            \"UserProfileAddress2\": null,\n            \"UserProfileCity\": \"Las Vegas\",\n            \"UserProfileState\": \"NV\",\n            \"UserProfileZipCode\": \"89135\",\n            \"GroupName\": \"freedomcare\",\n            \"GroupID\": 2609,\n            \"UserExternalUserId\": \"927335\",\n            \"UserProfileDOB\": \"1953-09-13T12:00:00.000Z\",\n            \"UserProfileGender\": \"M\",\n            \"UserProfileMisc1\": null,\n            \"UserProfileMisc2\": null,\n            \"UserProfileMisc3\": \"\",\n            \"UserEmail\": \"testytesterton111@gmail.com\",\n            \"UserPhone\": \"7025249227\",\n            \"MemberPolicyId\": \"DK0669\",\n            \"IsActive\": 0\n        }\n    ],\n    \"error\": null\n}"}],"_postman_id":"8e95e910-ba48-4276-abdd-09a6fa959b51"},{"name":"ADD NEW PRIMARY MEMBER","id":"28ace41f-e8c9-4516-bf98-b81b112bcfbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John00003\",\n    \"lastName\": \"Wick00003\",\n    \"birthdate\": \"1980-01-01\",\n    \"memberGroupId\": null,\n    \"planCode\": \"ZF7P3TDX\",\n    \"policyStartDate\": \"2020-06-02\",\n    \"policyTermDate\": null,\n    \"username\": \"john.wick00003@yourcompany.com\",\n    \"emailAddress\": \"john.wick00003@yourcompany.com\",\n    \"phoneNumber\": \"5555555555\",\n    \"hasAcceptedTerms\": 1,\n    \"uniqueUserId\": \"john.wick00003@yourcompany.com\",\n    \"gender\": \"M\",\n    \"parentRelationship\": 18,\n    \"address1\": \"100 Redondo Ave.\",\n    \"address2\": \"Apt# 893\",\n    \"city\": \"Los Angeles\",\n    \"state\": \"CA\",\n    \"zipcode\": \"24511\",\n    \"misc1\": null,\n    \"misc2\": null,\n    \"misc3\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/~","description":"<p>Allows you to add a primary member quickly with all of the member information required to get them ready for a visit. This endpoint will onboard a member under your account and will be activated after the member signs in with their username and sets their password.</p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong></p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n<p><strong>JSON Attributes:</strong></p>\n<hr />\n<p><strong>firstName</strong> - String <strong>(required)</strong></p>\n<hr />\n<p><strong>lastName</strong> - String <strong>(required)</strong></p>\n<hr />\n<p><strong>middleName</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>birthdate</strong> - Date <strong>(required)</strong></p>\n<hr />\n<p><strong>planCode</strong> - String <strong>(required)</strong></p>\n<p>Must also match one of your existing Plan Codes.</p>\n<hr />\n<p><strong>policyStartDate</strong> - Date <strong>(required)</strong></p>\n<p>Cannot be back dated but can be a future date.</p>\n<hr />\n<p><strong>policyTermDate</strong> - Date <strong>(optional)</strong></p>\n<p>Cannot be back dated but can be a future date or left empty will result in an evergreen policy.</p>\n<hr />\n<p><strong>emailAddress</strong> - Email <strong>(optional)</strong></p>\n<hr />\n<p><strong>phoneNumber</strong> - Phone Number <strong>(optional)</strong></p>\n<hr />\n<p><strong>gender</strong> - String <strong>(required)</strong></p>\n<p>Valid values are <strong>M</strong>, <strong>F</strong>, or <strong>U</strong></p>\n<hr />\n<p><strong>uniqueUserId</strong> - String <strong>(required)</strong></p>\n<p>This is typically the same as the member's email address but can be a unique member identifier within your system.</p>\n<hr />\n<p><strong>address1</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>address2</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>city</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>state</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>zipcode</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>misc1</strong> - String <strong>(optional)</strong></p>\n<p>Use for any other information regarding this member, sometimes used for reporting.</p>\n<hr />\n<p><strong>misc2</strong> - String <strong>(optional)</strong></p>\n<p>Use for any other information regarding this member, sometimes used for reporting.</p>\n<hr />\n<p><strong>misc3</strong> - String <strong>(optional)</strong></p>\n<p>Use for any other information regarding this member, sometimes used for reporting.</p>\n<hr />\n","urlObject":{"path":["v4","accounts","~","members","~"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[{"id":"a8b2a398-06c5-4d88-8eac-b0557efa36bb","name":"ADD NEW MEMBER - Successful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"John\",\n    \"lastName\": \"Wick\",\n    \"birthdate\": \"1964-09-02\",\n    \"groupId\": \"22222\",\n    \"middleName\": \"\",\n    \"planCode\": \"11111\",\n    \"policyStartDate\": \"2020-03-24\",\n    \"memberPolicyId\": \"333-333\",\n    \"policyTermDate\": null,\n    \"username\": \"john.wick@yourcompany.com\",\n    \"emailAddress\": \"john.wick@yourcompany.com\",\n    \"phoneNumber\": \"555-555-5555\",\n    \"hasAcceptedTerms\": 1,\n    \"uniqueUserId\": \"john.wick@yourcomapny.com\",\n    \"gender\": \"M\",\n    \"parentRelationship\": 18,\n    \"address1\": \"946 W Shore Rd.\",\n    \"address2\": \"\",\n    \"city\": \"Mill Neck\",\n    \"state\": \"NY\",\n    \"zipcode\": \"11765\",\n    \"misc1\": \"Fortis Fortuna Adiuvat\",\n    \"misc2\": \"Helen\",\n    \"misc3\": \"Andy\"\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"28ace41f-e8c9-4516-bf98-b81b112bcfbd"},{"name":"ADD NEW DEPENDENT MEMBER","id":"7db17e84-e36a-4b91-979f-a5835b695ae5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"memberId\": 7404871,\r\n    \"firstName\": \"Jane\",\r\n    \"lastName\": \"Wick\",\r\n    \"birthdate\": \"1977-10-09T07:00:00.000Z\",\r\n    \"memberPolicyId\": \"spousepolicyid\",\r\n    \"policyStartDate\": \"2020-06-02\",\r\n    \"policyTermDate\": null,\r\n    \"username\": \"jane.wick0002@yourcompany.com\",\r\n    \"emailAddress\": \"jane.wick0002@yourcompany.com\",\r\n    \"phoneNumber\": \"444-555-4444\",\r\n    \"hasAcceptedTerms\": 1,\r\n    \"uniqueUserId\": \"3fe07c00-ea15-11e9-b356-83d7bf74f23b\",\r\n    \"gender\": \"M\",\r\n    \"parentRelationship\": 19,\r\n    \"misc1\": \"1\",\r\n    \"misc2\": \"2\",\r\n    \"misc3\": null,\r\n    \"editorId\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}/dependents","description":"<p>Allows you to add a dependent member for an existing primary member. This endpoint will onboard a dependent under your account and will be related to the member passed into the path parameter.</p>\n<p><strong>Path Params</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong></p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n<p><strong>externaluserid</strong> - String <strong>(required)</strong></p>\n<p>The unique member identifier that identifies the primary member that a dependent belongs to.</p>\n<p><strong>JSON Attributes:</strong></p>\n<hr />\n<p><strong>firstName</strong> - String <strong>(required)</strong></p>\n<hr />\n<p><strong>lastName</strong> - String <strong>(required)</strong></p>\n<hr />\n<p><strong>middleName</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>emailAddress</strong> - Email <strong>(optional)</strong></p>\n<hr />\n<p><strong>phoneNumber</strong> - Phone Number <strong>(optional)</strong></p>\n<hr />\n<p><strong>uniqueUserId</strong> - String <strong>(required)</strong></p>\n<p>This is typically the same as the member's email address but can be a unique member identifier within your system.</p>\n<hr />\n<p><strong>address1</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>address2</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>city</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>state</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>zipcode</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>parentRelationship</strong> - Number <strong>(required)</strong></p>\n<p>Available values are 01 (spouse), 19 (child), 53 (life partner)</p>\n<hr />\n<p><strong>misc1</strong> - String <strong>(optional)</strong></p>\n<p>Use for any other information regarding this member, sometimes used for reporting.</p>\n<hr />\n<p><strong>misc2</strong> - String <strong>(optional)</strong></p>\n<p>Use for any other information regarding this member, sometimes used for reporting.</p>\n<hr />\n<p><strong>misc3</strong> - String <strong>(optional)</strong></p>\n<p>Use for any other information regarding this member, sometimes used for reporting.</p>\n<hr />\n","urlObject":{"path":["v4","accounts","~","members","{{externaluserid}}","dependents"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[{"id":"c9a18301-1130-40a1-bb47-b1512cf9002a","name":"ADD NEW MEMBER DEPENDENT - Successful","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"Jian\",\r\n    \"lastName\": \"Yang\",\r\n    \"birthdate\": \"1994-10-09\",\r\n    \"groupId\": \"6914\",\r\n    \"memberGroupId\": \"4454545\",\r\n    \"planCode\": \"4343\",\r\n    \"policyStartDate\": \"2020-03-12\",\r\n    \"memberPolicyId\": \"t5t5t5\",\r\n    \"policyTermDate\": null,\r\n    \"username\": \"jian.yang@nothotdog.com\",\r\n    \"emailAddress\": \"jian.yang@nothotdog.com\",\r\n    \"phoneNumber\": \"555-555-5555\",\r\n    \"hasAcceptedTerms\": 1,\r\n    \"uniqueUserID\": \"3fe07c00-ea15-11e9-b543-83d7bf74f23a\",\r\n    \"gender\": \"M\",\r\n    \"parentRelationship\": 19,\r\n    \"misc1\": null,\r\n    \"misc2\": null,\r\n    \"misc3\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}/dependents"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Apr 2020 17:40:04 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"462"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ad585432-3ca9-44c8-a001-3fa018a16fa3"},{"key":"access-control-allow-origin","value":"undefined"},{"key":"x-amzn-Remapped-content-length","value":"462"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"Ka82JGJRPHcFezw="},{"key":"etag","value":"W/\"1ce-1laNhsp1nDAxJ8/C4nKOAHJ4w94\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e8774f3-8e8f08002de1d8009de47800;Sampled=0"},{"key":"x-amzn-Remapped-date","value":"Fri, 03 Apr 2020 17:40:04 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 201,\n    \"message\": \"Successful!\",\n    \"functionName\": \"addNewDependent\",\n    \"functionRoute\": \"/accounts/:accountid/members/:memberid/dependent\",\n    \"isDeprecated\": false,\n    \"result\": [\n        {\n            \"UserId\": 7364075,\n            \"UserProfileId\": 6396344,\n            \"UserProfileFirstName\": \"Jian\",\n            \"UserProfileMiddleName\": null,\n            \"UserProfileLastName\": \"Yang\",\n            \"UserProfileIsUnderage\": 0,\n            \"UserProfileIsUnder26\": 1,\n            \"UserProfilefromImport\": true,\n            \"ErrorMessage\": \"\"\n        }\n    ],\n    \"error\": null\n}"}],"_postman_id":"7db17e84-e36a-4b91-979f-a5835b695ae5"},{"name":"ADD MEMBER POLICIES","id":"49e79403-3f78-4e92-a188-017d98182861","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"planCode\": \"MYPLANCODE\",\r\n    \"policyStartDate\": \"2020-09-01\",\r\n    \"policyEndDate\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}/policies/add","description":"<p>Allows you to create a new policy for an existing member. This will terminate any and all current active policies for both primary and all dependents of this member. A null value for policyTermDate signifies an evergreen policy.</p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong></p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n<p><strong>externaluserid</strong> - String <strong>(required)</strong></p>\n<p>The unique member identifier that identifies the primary member that a dependent belongs to.</p>\n<p>The unique member identifier of the member.</p>\n<p><strong>JSON Attributes:</strong></p>\n<hr />\n<p><strong>planCode</strong> - String <strong>(required)</strong></p>\n<hr />\n<p><strong>policyStartDate</strong> - Date <strong>(required)</strong></p>\n<hr />\n<p><strong>policyTermDate</strong> - Date <strong>(optional)</strong></p>\n<hr />\n","urlObject":{"path":["v4","accounts","~","members","{{externaluserid}}","policies","add"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"49e79403-3f78-4e92-a188-017d98182861"},{"name":"UPDATE MEMBER (Primary or Dependent)","id":"ad0eca7a-9932-40c1-aa56-7858ea17d740","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"firstName\": \"John\",\r\n    \"lastName\": \"Wick\",\r\n    \"memberGroupId\": \"4454545\",\r\n    \"middleName\": null,\r\n    \"emailAddress\": \"john.wick@.yourcompanycom\",\r\n    \"phoneNumber\": \"555-333-5555\",\r\n    \"gender\": \"M\",\r\n    \"address1\": \"946 W Shore Rd.\",\r\n    \"address2\": \"\",\r\n    \"city\": \"Mill Neck\",\r\n    \"state\": \"NY\",\r\n    \"zipcode\": \"11765\"\r\n}"},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}","description":"<p>Allows you to modify a primary or dependent member's demographic information.</p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong></p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n<p><strong>externaluserid</strong> - String <strong>(required)</strong></p>\n<p>The unique member identifier that identifies the primary member that a dependent belongs to.</p>\n<p><strong>JSON Attributes:</strong></p>\n<hr />\n<p><strong>firstName</strong> - String <strong>(required)</strong></p>\n<hr />\n<p><strong>lastName</strong> - String <strong>(required)</strong></p>\n<hr />\n<p><strong>middleName</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>emailAddress</strong> - Email <strong>(optional)</strong></p>\n<hr />\n<p><strong>phoneNumber</strong> - Phone Number <strong>(optional)</strong></p>\n<hr />\n<p><strong>address1</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>address2</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>city</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>state</strong> - String <strong>(optional)</strong></p>\n<hr />\n<p><strong>zipcode</strong> - String <strong>(optional)</strong></p>\n<hr />\n","urlObject":{"path":["v4","accounts","~","members","{{externaluserid}}"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad0eca7a-9932-40c1-aa56-7858ea17d740"},{"name":"TERMINATE MEMBER POLICIES","id":"6c9f8e91-2f07-478e-856e-b8374233c93d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"policyTermDate\": \"2020-05-01\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}/policies/terminate","description":"<p>Allows you to terminate all active policies for an existing member. This will also terminate all policies for all dependents of this member. <strong>Please note that terminating policies for a member will not keep them from having a consult with a provider but simply defaults them back to paying full price for the visit.</strong></p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong></p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n<p><strong>externaluserid</strong> - String <strong>(required)</strong></p>\n<p>The unique member identifier that identifies the primary member that a dependent belongs to.</p>\n<p>The unique member identifier of the member.</p>\n<p><strong>JSON Attributes:</strong></p>\n<hr />\n<p><strong>policyTermDate</strong> - Date <strong>(required)</strong></p>\n","urlObject":{"path":["v4","accounts","~","members","{{externaluserid}}","policies","terminate"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[{"id":"ad528315-7818-4359-810c-c73373836a58","name":"TERMINATE MEMBER POLICIES - Successful","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"policyTermDate\": \"2020-05-01\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{memberid}}/policies/terminate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Apr 2020 18:27:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1076"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a1118d93-3d3f-4fe9-ad14-e9ff3851d199"},{"key":"access-control-allow-origin","value":"undefined"},{"key":"x-amzn-Remapped-content-length","value":"1076"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"KbDyhH1lPHcFVuQ="},{"key":"etag","value":"W/\"434-OMVNN0YuaBR+/pqmCvodMEyjAdk\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e878010-f237b8802801a16cbd4d14e7;Sampled=0"},{"key":"x-amzn-Remapped-date","value":"Fri, 03 Apr 2020 18:27:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 200,\n    \"message\": \"Successful!\",\n    \"functionName\": \"terminateMemberPolicies\",\n    \"functionRoute\": \"/accounts/:accountid/members/:externaluserid/policies/terminate\",\n    \"isDeprecated\": false,\n    \"result\": [\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        },\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        },\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        },\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        }\n    ],\n    \"error\": null\n}"}],"_postman_id":"6c9f8e91-2f07-478e-856e-b8374233c93d"},{"name":"TERMINATE MEMBER POLICIES BY PLAN CODE","id":"727bec30-f49f-4ff4-b8f2-dfe52017a3f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"policyTermDate\": \"2020-05-01\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}/plancodes/{{plancode}}terminate","description":"<p>Allows you to terminate all active policies for an existing member using a Plan Code. This will also terminate all policies with that Plan Code for all dependents of this member. <strong>Please note that terminating policies for a member will not keep them from having a consult with a provider but simply defaults them back to paying full price for the visit.</strong></p>\n<p><strong>Path Params:</strong></p>\n<p><strong>tilde</strong> - String <strong>(required)</strong></p>\n<p>The tilde character ( ~ ) is required for every api call as a path parameter, this identifies every caller based on their token.</p>\n<p><strong>externaluserid</strong> - String <strong>(required)</strong></p>\n<p>The unique member identifier that identifies the primary member that a dependent belongs to.</p>\n<p>The unique member identifier of the member.</p>\n<p><strong>plancode</strong> - String <strong>(required)</strong>  </p>\n<p>The unique plan code in your account for the member.</p>\n<p><strong>JSON Attributes:</strong></p>\n<hr />\n<p><strong>policyTermDate</strong> - Date <strong>(required)</strong></p>\n","urlObject":{"path":["v4","accounts","~","members","{{externaluserid}}","plancodes","{{plancode}}terminate"],"host":["{{aws_partner_url}}"],"query":[],"variable":[]}},"response":[{"id":"48b3d0db-c408-4927-acdc-1fe5fd3ec23e","name":"TERMINATE MEMBER POLICIES - Successful","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"x-api-key","type":"text","value":"{{your-unique-key}}"},{"key":"Authorization","type":"text","value":"Bearer {{partner_bearer_token}}"}],"body":{"mode":"raw","raw":"{\r\n    \"policyTermDate\": \"2020-05-01\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{aws_partner_url}}/v4/accounts/~/members/{{externaluserid}}/policies/terminate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 03 Apr 2020 18:27:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1076"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"a1118d93-3d3f-4fe9-ad14-e9ff3851d199"},{"key":"access-control-allow-origin","value":"undefined"},{"key":"x-amzn-Remapped-content-length","value":"1076"},{"key":"x-amzn-Remapped-connection","value":"close"},{"key":"x-amz-apigw-id","value":"KbDyhH1lPHcFVuQ="},{"key":"etag","value":"W/\"434-OMVNN0YuaBR+/pqmCvodMEyjAdk\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5e878010-f237b8802801a16cbd4d14e7;Sampled=0"},{"key":"x-amzn-Remapped-date","value":"Fri, 03 Apr 2020 18:27:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messageOrgination\": \"AWS\",\n    \"status\": \"OK\",\n    \"statusCode\": 200,\n    \"message\": \"Successful!\",\n    \"functionName\": \"terminateMemberPolicies\",\n    \"functionRoute\": \"/accounts/:accountid/members/:externaluserid/policies/terminate\",\n    \"isDeprecated\": false,\n    \"result\": [\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        },\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        },\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        },\n        {\n            \"ErrorMessage\": \"\",\n            \"UserProfileID\": 6396342,\n            \"StartDate\": \"2020-03-12T12:00:00.000Z\",\n            \"TerminationDate\": \"2020-05-01T12:00:00.000Z\",\n            \"DateUpdated\": \"2020-04-03T18:27:32.567Z\",\n            \"UpdatedBy\": 7576955,\n            \"EditedBy\": 7576955\n        }\n    ],\n    \"error\": null\n}"}],"_postman_id":"727bec30-f49f-4ff4-b8f2-dfe52017a3f8"},{"name":"v2 GET INTAKE EXCUSE FORM PDF","event":[{"listen":"test","script":{"id":"f460c333-e335-4af1-a8a6-936719cc4a20","exec":[""],"type":"text/javascript"}}],"id":"53c85e13-d4fa-4a18-b798-55d59af36514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","type":"text","value":"Bearer {{access_token}}"}],"body":{"mode":"raw","raw":""},"url":"{{v2_services_url}}/v2/provider/intake/754895/excuseForm/pdf","urlObject":{"path":["v2","provider","intake","754895","excuseForm","pdf"],"host":["{{v2_services_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"53c85e13-d4fa-4a18-b798-55d59af36514"},{"name":"v2 begin intake","event":[{"listen":"test","script":{"id":"3610a2cb-f2ec-4917-9ea3-21d37348c844","exec":[""],"type":"text/javascript"}}],"id":"99054ebb-c43e-42d9-8cbb-a47726162e33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"},{"key":"Origin","value":"{{origin_care_app}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"chiefComplaint\": \"Allergy symptoms\",\n    \"contactEmail\": \"tim.rankel@gmail.com\",\n    \"contactPhoneNumber\": \"6234662186\",\n    \"currentState\": \"AZ\",\n    \"providerGenderSelect\": \"first available\",\n    \"recordReleaseConsent\": true,\n    \"visitType\": \"phone\",\n    \"lineofBusiness\": \"UC\",\n    \"lineofBusinessType\": \"UC\",\n    \"dob\": \"1980-01-01T12:00:00.000Z\",\n    \"firstName\": \"HuckleBerry\",\n    \"lastName\": \"Finn\",\n    \"userId\": \"7408298\"\n}"},"url":"{{v2_services_url}}/v2/intake/begin","urlObject":{"path":["v2","intake","begin"],"host":["{{v2_services_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"99054ebb-c43e-42d9-8cbb-a47726162e33"}],"variable":[{"key":"externalmemberid","value":"external_member_id"}]}