{"id":3278,"date":"2023-08-03T16:53:14","date_gmt":"2023-08-03T08:53:14","guid":{"rendered":"https:\/\/www.vmlogin.us\/help\/?p=3278"},"modified":"2023-08-14T12:53:37","modified_gmt":"2023-08-14T04:53:37","slug":"get-profiles-list-based-on-specific-group-id","status":"publish","type":"post","link":"https:\/\/www.vmlogin.us\/help\/api\/get-profiles-list-based-on-specific-group-id.html","title":{"rendered":"API Gets a List of Profiles Based on a Specific Group ID"},"content":{"rendered":"\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Gets a list of profiles based on a specific group ID using the API interface:<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Request Url:<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">https:\/\/api.vmlogin.com\/v1\/tag\/profile\/list?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&amp;tagId=xxxxxx&amp;type=mine&amp;format=1<\/mark><\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Request Type: GET<\/p>\n\n\n\n<figure class=\"wp-block-table has-medium-font-size\"><table><tbody><tr><td><strong>Name<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>required<\/strong><\/td><\/tr><tr><td>token<\/td><td>string<\/td><td>Authentication token<\/td><td>true<\/td><\/tr><tr><td>tagId<\/td><td>string<\/td><td>Group ID (either-or)<\/td><td>false<\/td><\/tr><tr><td>tag<\/td><td>string<\/td><td>Group Name (either-or)<\/td><td>false<\/td><\/tr><tr><td>type<\/td><td>string<\/td><td>Type, shared profile with me: \u201cshare\u201d ; Mine: \u201cmine\u201d<\/td><td>false<\/td><\/tr><tr><td>format<\/td><td>string<\/td><td>Format Unix timestamps: \u201c1\u201d<\/td><td>false<\/td><\/tr><tr><td>page<\/td><td>string<\/td><td>The page number<\/td><td>false<\/td><\/tr><tr><td>limit<\/td><td>string<\/td><td>The number of results displayed on each page is 50 by default<\/td><td>false<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Request<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">{\n    \"token\": \"66e9f73f3617c6afdc6768f7a61a58ae\",\n    \"tagId\": \"348193\",\n    \"type\": \"mine\",\n    \"format\": \"1\"\n}\n<\/mark><\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Response<\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">{\n    \"data\": &#91;\n        {\n            \"sid\": \"DEE64684-1EF9-40CF-80A5-C62390639800\",\n            \"name\": \"myProfile\",\n            \"lastUsedTime\": \"2022-05-16 11:48\",\n            \"createTime\": \"2022-05-14 14:50\"\n        }\n    ],\n    \"type\": \"mine\",\n    \"tagId\": \"348193\",\n    \"tag\": \"vmlogin test\",\n    \"paging\": {\n        \"totalCount\": 1,\n        \"maxPage\": 1,\n        \"currentPage\": 1\n    }\n}\n<\/mark><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Note:<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">(1) For token, please refer to the&nbsp;<strong><a href=\"https:\/\/www.vmlogin.us\/help\/api\/view-api-token.html\" target=\"_blank\" rel=\"noreferrer noopener\">\"View\/Change the API Token\"<\/a><\/strong>&nbsp;tutorial.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">(2) For tagId, please refer to the&nbsp;<strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.vmlogin.us\/help\/api\/get-a-list-of-all-groups.html\" target=\"_blank\">\"Get group list using the API interface\"<\/a><\/strong>&nbsp;tutorial.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"574\" src=\"https:\/\/www.vmlogin.us\/help\/wp-content\/uploads\/2023\/08\/7-\u6839\u636e\u6307\u5b9a\u7ec4\u83b7\u53d6\u5217\u8868png-2.png\" alt=\"\" class=\"wp-image-3351\" srcset=\"https:\/\/www.vmlogin.us\/help\/wp-content\/uploads\/2023\/08\/7-\u6839\u636e\u6307\u5b9a\u7ec4\u83b7\u53d6\u5217\u8868png-2.png 793w, https:\/\/www.vmlogin.us\/help\/wp-content\/uploads\/2023\/08\/7-\u6839\u636e\u6307\u5b9a\u7ec4\u83b7\u53d6\u5217\u8868png-2-300x217.png 300w, https:\/\/www.vmlogin.us\/help\/wp-content\/uploads\/2023\/08\/7-\u6839\u636e\u6307\u5b9a\u7ec4\u83b7\u53d6\u5217\u8868png-2-768x556.png 768w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Gets a list of profiles based on a specific group ID us [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-3278","post","type-post","status-publish","format-standard","hentry","category-api"],"_links":{"self":[{"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/posts\/3278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/comments?post=3278"}],"version-history":[{"count":5,"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/posts\/3278\/revisions"}],"predecessor-version":[{"id":3399,"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/posts\/3278\/revisions\/3399"}],"wp:attachment":[{"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/media?parent=3278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/categories?post=3278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vmlogin.us\/help\/wp-json\/wp\/v2\/tags?post=3278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}