{"id":5978,"date":"2023-04-18T11:34:07","date_gmt":"2023-04-18T03:34:07","guid":{"rendered":"https:\/\/meiqia.com\/help\/?post_type=ht_kb&#038;p=5978"},"modified":"2024-08-05T16:26:21","modified_gmt":"2024-08-05T08:26:21","slug":"call_api","status":"publish","type":"ht_kb","link":"https:\/\/www.meiqia.com\/help\/article\/call_api\/","title":{"rendered":"\u547c\u53ebAPI"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"unified-apicallopenapientv1agentoutnumber-group0a3ca20id3dunified-apicallopenapientv1agentoutnumber-group30333e203ca3e\">\u4e3a\u5750\u5e2d\u5206\u914d\u5916\u663e\u53f7\u7801\u548c\u52a8\u6001\u53f7\u7801\u7ec4<a><\/a><\/h2>\n\n\n\n<p><strong>\u57fa\u672c\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p>Path\uff1a&nbsp;\/unified-api\/call\/openapi\/ent\/v1\/agent\/outnumber_group<\/p>\n\n\n\n<p>Method\uff1a&nbsp;POST<\/p>\n\n\n\n<p>\u63a5\u53e3\u63cf\u8ff0\uff1aAssignNumbersAndGroupsToAgents \u4e3a\u591a\u4e2a\u5750\u5e2d\u5206\u914d\u5916\u663e\u53f7\u7801\u548c\u52a8\u6001\u53f7\u7801\u7ec4<\/p>\n\n\n\n<p><strong>\u8bf7\u6c42\u53c2\u6570<\/strong><\/p>\n\n\n\n<p><strong>Headers<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u53c2\u6570\u540d\u79f0<\/th><th>\u53c2\u6570\u503c<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u793a\u4f8b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>Content-Type<\/td><td>application\/json<\/td><td>\u662f<\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Body<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><tbody><tr><td>agent_ids<\/td><td>integer []<\/td><td>\u5fc5\u987b<\/td><td><\/td><td>\u5750\u5e2dID<\/td><td>item \u7c7b\u578b:&nbsp;integer<\/td><\/tr><tr><td>\u251c\u2500<\/td><td><\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>group_ids<\/td><td>integer []<\/td><td>\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801\u7ec4ID<\/td><td>item \u7c7b\u578b:&nbsp;integer<\/td><\/tr><tr><td>\u251c\u2500<\/td><td><\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>numbers<\/td><td>string []<\/td><td>\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801<\/td><td>item \u7c7b\u578b:&nbsp;string<\/td><\/tr><tr><td>\u251c\u2500<\/td><td><\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u8fd4\u56de\u6570\u636e<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"unified-apicallopenapientv1records0a3ca20id3dunified-apicallopenapientv1records30333e203ca3e\">\u901a\u8bdd\u8bb0\u5f55\u5217\u8868<a><\/a><\/h2>\n\n\n\n<p><strong>\u57fa\u672c\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p>Path\uff1a&nbsp;\/unified-api\/call\/openapi\/ent\/v1\/records<\/p>\n\n\n\n<p>Method\uff1a&nbsp;POST<\/p>\n\n\n\n<p>\u63a5\u53e3\u63cf\u8ff0\uff1a\u901a\u8bdd\u5217\u8868<\/p>\n\n\n\n<p>\u8bf7\u6c42\u53c2\u6570<\/p>\n\n\n\n<p><strong>Headers<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u53c2\u6570\u540d\u79f0<\/th><th>\u53c2\u6570\u503c<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u793a\u4f8b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>Content-Type<\/td><td>application\/json<\/td><td>\u662f<\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Body<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><tbody><tr><td>agent_id<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5ba2\u670dID<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>agent_ids<\/td><td>integer []<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5ba2\u670dID\u6570\u7ec4<\/td><td>item \u7c7b\u578b:&nbsp;integer<\/td><\/tr><tr><td>\u251c\u2500<\/td><td><\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>call_types<\/td><td>string []<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u7c7b\u578b:\u5916\u547c|\u6765\u7535<\/td><td>item \u7c7b\u578b:&nbsp;string<\/td><\/tr><tr><td>\u251c\u2500<\/td><td><\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>call_uuid<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bddid<\/td><td><\/td><\/tr><tr><td>customer_phone<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u987e\u5ba2\u53f7\u7801<\/td><td><\/td><\/tr><tr><td>end_time<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u7ed3\u675f\u65f6\u95f4\u7b5b\u9009<\/td><td>format:&nbsp;date-time<\/td><\/tr><tr><td>page_index<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5f53\u524d\u9875<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>page_size<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5206\u9875\u5927\u5c0f<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>start_time<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u53d1\u8d77\u65f6\u95f4\u7b5b\u9009<\/td><td>format:&nbsp;date-time<\/td><\/tr><tr><td>states<\/td><td>string []<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u72b6\u6001\uff0c\u63a5\u901a\uff0c\u6302\u65ad\u7b49<\/td><td>item \u7c7b\u578b:&nbsp;string<\/td><\/tr><tr><td>\u251c\u2500<\/td><td><\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>trunk_number<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u4e2d\u7ee7\u53f7\u7801<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u8fd4\u56de\u6570\u636e<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><tbody><tr><td>data<\/td><td>object []<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u8bb0\u5f55<\/td><td>item \u7c7b\u578b:&nbsp;object<\/td><\/tr><tr><td>\u251c\u2500&nbsp;agent_evaluated<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5ba2\u670d\u88ab\u8bc4\u4ef7\u7684\u5206\u6570<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;agent_id<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5ba2\u670dID<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;agent_phone<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5ba2\u670d\u547c\u53eb\u5750\u5e2d\u8d26\u53f7<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;answer_way<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u63a5\u542c\u65b9\u5f0f<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;call_type<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u7c7b\u578b:\u5916\u547c|\u6765\u7535<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;call_uuid<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bddID<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;customer_attribution<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u987e\u5ba2\u5f52\u5c5e\u5730<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;customer_duration<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u65f6\u957f<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;customer_phone<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u987e\u5ba2\u53f7\u7801<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;duration<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u603b\u65f6\u957f\uff08\u79d2\uff09<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;end_time<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u7ed3\u675f\u65f6\u95f4<\/td><td>format:&nbsp;date-time<\/td><\/tr><tr><td>\u251c\u2500&nbsp;hangup_disposition<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u6302\u673a\u65b9<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;queue_wait_time<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u961f\u5217\u7b49\u5f85\u65f6\u957f<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;record_path<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5f55\u97f3\u6587\u4ef6(\u8bf7\u672c\u5730\u4fdd\u5b58)<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;start_time<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5f00\u59cb\u547c\u53eb\u65f6\u95f4<\/td><td>format:&nbsp;date-time<\/td><\/tr><tr><td>\u251c\u2500&nbsp;states<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u72b6\u6001:\u5916\u547c\u72b6\u6001:\u4e3b\u53eb\u672a\u63a5|\u88ab\u53eb\u672a\u63a5|\u63a5\u542c;\u6765\u7535\u72b6\u6001:ivr|\u961f\u5217\u653e\u5f03|\u632f\u94c3\u672a\u63a5|\u63a5\u542c<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;trunk_number<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u4e2d\u7ee7\u53f7\u7801<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;trunk_number_name<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u4e2d\u7ee7\u53f7\u7801\u522b\u540d<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;wait_time<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u7b49\u5f85\u65f6\u957f<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;user_data<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u7528\u6237\u81ea\u5b9a\u4e49\u6570\u636e<\/td><td><\/td><\/tr><tr><td>total<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u901a\u8bdd\u8bb0\u5f55\u6570\u91cf<\/td><td>format:&nbsp;int64<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"unified-apicallopenapientv1rule-outnumber-group0a3ca20id3dunified-apicallopenapientv1rule-outnumber-group30333e203ca3e\">\u5916\u663e\u53f7\u7801\u548c\u52a8\u6001\u53f7\u7801\u7ec4\u5217\u8868<a><\/a><\/h2>\n\n\n\n<p><strong>\u57fa\u672c\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p>Path\uff1a&nbsp;\/unified-api\/call\/openapi\/ent\/v1\/rule_outnumber_group<\/p>\n\n\n\n<p>Method\uff1a&nbsp;GET<\/p>\n\n\n\n<p>\u63a5\u53e3\u63cf\u8ff0\uff1aRuleNumbersAndGroups \u6240\u6709\u7684\u5916\u663e\u53f7\u7801\u548c\u52a8\u6001\u53f7\u7801\u7ec4<\/p>\n\n\n\n<p><strong>\u8bf7\u6c42\u53c2\u6570<\/strong><\/p>\n\n\n\n<p><strong>Headers<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u53c2\u6570\u540d\u79f0<\/th><th>\u53c2\u6570\u503c<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u793a\u4f8b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>Content-Type<\/td><td>application\/json<\/td><td>\u662f<\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u8fd4\u56de\u6570\u636e<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><tbody><tr><td>groups<\/td><td>object []<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801\u7ec4<\/td><td>item \u7c7b\u578b:&nbsp;object<\/td><\/tr><tr><td>\u251c\u2500&nbsp;id<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801\u7ec4ID<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;name<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801\u7ec4\u540d\u79f0<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;numbers<\/td><td>string []<\/td><td>\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801<\/td><td>item \u7c7b\u578b:&nbsp;string<\/td><\/tr><tr><td>\u251c\u2500<\/td><td><\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;rule_type<\/td><td>integer<\/td><td>\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801\u7ec4\u89c4\u5219\uff0c1\u5f52\u5c5e\u5730\u4f18\u5148\uff0c2\u968f\u673a\u5206\u914d<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>numbers<\/td><td>object []<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801<\/td><td>item \u7c7b\u578b:&nbsp;object<\/td><\/tr><tr><td>\u251c\u2500&nbsp;name<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801\u522b\u540d<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;number<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u53f7\u7801<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"unified-apicallopenapientv1sip-bind-agent0a3ca20id3dunified-apicallopenapientv1sip-bind-agent30333e203ca3e\">\u5ba2\u670d\u4e0e\u5750\u5e2d\u7ed1\u5b9a<\/h2>\n\n\n\n<p><strong>\u57fa\u672c\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p>Path\uff1a&nbsp;\/unified-api\/call\/openapi\/ent\/v1\/sip_bind_agent<\/p>\n\n\n\n<p>Method\uff1a&nbsp;POST<\/p>\n\n\n\n<p>\u63a5\u53e3\u63cf\u8ff0\uff1aSipBindAgent sip\u7ed1\u5b9a\u5750\u5e2d<\/p>\n\n\n\n<p>\u8bf7\u6c42\u53c2\u6570<\/p>\n\n\n\n<p><strong>Headers<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u53c2\u6570\u540d\u79f0<\/th><th>\u53c2\u6570\u503c<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u793a\u4f8b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>Content-Type<\/td><td>application\/json<\/td><td>\u662f<\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Body<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><tbody><tr><td>agent_id<\/td><td>integer<\/td><td>\u5fc5\u987b<\/td><td><\/td><td>\u5750\u5e2dID<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>sip<\/td><td>string<\/td><td>\u5fc5\u987b<\/td><td><\/td><td>sip\u53f7<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u8fd4\u56de\u6570\u636e<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"unified-apicallopenapientv1sips0a3ca20id3dunified-apicallopenapientv1sips30333e203ca3e\">\u5750\u5e2d\u5217\u8868<a><\/a><\/h2>\n\n\n\n<p><strong>\u57fa\u672c\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p>Path\uff1a&nbsp;\/unified-api\/call\/openapi\/ent\/v1\/sips<\/p>\n\n\n\n<p>Method\uff1a&nbsp;GET<\/p>\n\n\n\n<p>\u63a5\u53e3\u63cf\u8ff0\uff1aSips \u4f01\u4e1a\u6240\u6709\u7684sip\u53f7<\/p>\n\n\n\n<p><strong>\u8bf7\u6c42\u53c2\u6570<\/strong><\/p>\n\n\n\n<p><strong>Headers<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u53c2\u6570\u540d\u79f0<\/th><th>\u53c2\u6570\u503c<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u793a\u4f8b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>Content-Type<\/td><td>application\/json<\/td><td>\u662f<\/td><td><\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Qurey<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u53c2\u6570\u540d\u79f0<\/th><th>\u53c2\u6570\u503c<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u793a\u4f8b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>agent_id<\/td><td>integer<\/td><td>\u5426<\/td><td>\ufeff<\/td><td>\u5750\u5e2d id<\/td><\/tr><tr><td>occupied<\/td><td>string<\/td><td>\u5426<\/td><td><\/td><td>\u5360\u7528\u60c5\u51b5<br>y\uff1a\u5df2\u5360\u7528<br>n\uff1a\u672a\u5360\u7528<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u8fd4\u56de\u6570\u636e<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u9ed8\u8ba4\u503c<\/th><th>\u5907\u6ce8<\/th><th>\u5176\u4ed6\u4fe1\u606f<\/th><\/tr><\/thead><tbody><tr><td><\/td><td>object []<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td><\/td><td>item \u7c7b\u578b:&nbsp;object<\/td><\/tr><tr><td>\u251c\u2500&nbsp;agent_id<\/td><td>integer<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5750\u5e2dID<\/td><td>format:&nbsp;int64<\/td><\/tr><tr><td>\u251c\u2500&nbsp;agent_name<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u5750\u5e2d\u540d\u79f0<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;expiration_at<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u8fc7\u671f\u65f6\u95f4<\/td><td>format:&nbsp;date-time<\/td><\/tr><tr><td>\u251c\u2500&nbsp;occupied<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>\u662f\u5426\u88ab\u5360\u7528<\/td><td>y\uff1a\u5df2\u5360\u7528<br>n\uff1a\u672a\u5360\u7528<\/td><\/tr><tr><td>\u251c\u2500&nbsp;password<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>sip\u5bc6\u7801<\/td><td><\/td><\/tr><tr><td>\u251c\u2500&nbsp;sip<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td><\/td><td>sip\u53f7<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u5916\u547c<\/h2>\n\n\n\n<p><strong>\u57fa\u672c\u4fe1\u606f<\/strong><\/p>\n\n\n\n<p>Path\uff1a{{host}}\/unified-api\/call\/openapi\/ent\/v1\/callout<\/p>\n\n\n\n<p>Method\uff1a POST<\/p>\n\n\n\n<p>\u63a5\u53e3\u63cf\u8ff0\uff1a\u901a\u8fc7 http \u5f62\u5f0f\u5916\u547c<\/p>\n\n\n\n<p><strong>\u8bf7\u6c42\u53c2\u6570<\/strong><\/p>\n\n\n\n<p><strong>Headers<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u53c2\u6570\u540d\u79f0<\/th><th>\u53c2\u6570\u503c<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>Content-Type<\/td><td>application\/json<\/td><td>\u662f<\/td><td>&nbsp;<\/td><\/tr><tr><td>Authorization<\/td><td>Bearer access_token<\/td><td>\u662f<\/td><td>Access Token \u9700\u8981\u5728\u7f8e\u6d3d\u516c\u4f17\u53f0<a href=\"https:\/\/app.meiqia.com\/setting\/developer-apis\">\u3010\u8bbe\u7f6e \/ \u5f00\u53d1\u8005 \/ APIs\u3011<\/a>\u4e2d\u83b7\u53d6\uff0c\u5e76\u8bbe\u7f6e\u4e3a\u542f\u7528\u3002\u76ee\u524d Token \u7684\u6709\u6548\u671f\u662f\u6c38\u4e45\uff0c\u91cd\u590d\u83b7\u53d6\u5c06\u5bfc\u81f4\u4e0a\u6b21\u83b7\u53d6\u7684 Token \u5931\u6548\u3002<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Body<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>agent_id<\/td><td>Int64<\/td><td>\u5fc5\u987b<\/td><td>\u5ba2\u670dID<\/td><\/tr><tr><td>callee<\/td><td>string<\/td><td>\u5fc5\u987b<\/td><td>\u987e\u5ba2\u53f7\u7801<\/td><\/tr><tr><td>trunk_number<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td>\u5916\u663e\u53f7\u7801<\/td><\/tr><tr><td>user_data<\/td><td>string<\/td><td>\u975e\u5fc5\u987b<\/td><td>\u81ea\u5b9a\u4e49\u6570\u636e(\u5982BusinessID\u3001UUID\u4e4b\u7c7b\u7684\uff0c\u6700\u957f100\u5b57\u7b26)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u8fd4\u56de\u6570\u636e<\/strong><\/p>\n\n\n\n<p>\u4ee5HTTP CODE\u5224\u65ad\u8bf7\u6c42\u662f\u5426\u6210\u529f<\/p>\n\n\n\n<p><strong>\u6210\u529f\u793a\u4f8b\uff1aHTTP CODE\u4e3a200<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u540d\u79f0<\/th><th>\u7c7b\u578b<\/th><th>\u662f\u5426\u5fc5\u987b<\/th><th>\u5907\u6ce8<\/th><\/tr><\/thead><tbody><tr><td>uuid<\/td><td>string<\/td><td>\u5fc5\u987b<\/td><td>\u8bdd\u5355uuid<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{ &quot;uuid&quot;: &quot;2bbf137f-7707-4789-9f71-64cdfa5ddb22&quot;}<\/code><\/pre><\/div>\n\n\n\n<p><strong>\u5931\u8d25\u793a\u4f8b\uff1aHTTP CODE\u4e0d\u7b49\u4e8e200\uff0c\u598240X,50X<\/strong><\/p>\n\n\n\n<p>BODY\u793a\u4f8b\u5982\u4e0b\uff0c\u63d0\u793aerror\u4e2d\u7684message\u5373\u53ef<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>{ \u00a0 \u00a0&quot;error&quot;: {\n \u00a0 \u00a0 \u00a0 \u00a0&quot;code&quot;: &quot;Unauthenticated&quot;,\n \u00a0 \u00a0 \u00a0 \u00a0&quot;message&quot;: &quot;\u5750\u5e2d\u672a\u6ce8\u518c&quot; \u00a0  \n              }\n}<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u53ef\u4ee5\u901a\u8fc7\u63a5\u53e3\u64cd\u4f5c\u7ba1\u7406\u547c\u53eb<\/p>\n","protected":false},"author":20,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[8],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/ht-kb\/5978"}],"collection":[{"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/comments?post=5978"}],"version-history":[{"count":14,"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/ht-kb\/5978\/revisions"}],"predecessor-version":[{"id":6953,"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/ht-kb\/5978\/revisions\/6953"}],"wp:attachment":[{"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/media?parent=5978"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/ht-kb-category?post=5978"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.meiqia.com\/help\/wp-json\/wp\/v2\/ht-kb-tag?post=5978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}