Fax.Plus 의료 서비스에 특화된 강력하면서도 직관적인 팩스 API를 제공합니다. 개발자는 자바스크립트, Node.js, 루비, 파이썬, 자바 등 일반적인 플랫폼을 사용하여 팩스 기능을 의료 애플리케이션에 쉽게 통합할 수 있습니다. OAuth 2.0 또는 PAT(개인용 액세스 토큰)를 포함한 보안 인증 옵션으로 빠르게 시작하고 Fax.Plus 상세한 RESTful API 및 웹후크 통합을 활용하여 완전히 최적화된 의료 팩스 솔루션을 구축하세요.
지금 바로 API 설명서를 살펴보고 의료 서비스 제공업체에 특별히 맞춤화된 고급 보안 팩스 통합을 만들어 보세요.
1const axios = require('axios');
2const OutboxApiFp = require('@alohi/faxplus-api').OutboxApiFp;
3const Configuration = require('@alohi/faxplus-api').Configuration;
4
5const config = new Configuration({
6 accessToken: accessToken,
7 basePath: 'https://restapi.fax.plus/v3',
8 // Header required only when using the OAuth2 token scheme
9 baseOptions: {
10 headers: {
11 "x-fax-clientid": clientId,
12 }
13 }
14});
15
16async function sendFax() {
17 const reqParams = {
18 "userId": '13d8z73c',
19 "payloadOutbox": {
20 "comment": {
21 "tags": [
22 "tag1",
23 "tag2"
24 ],
25 "text": "text comment"
26 },
27 "files": [
28 "filetosend.pdf"
29 ],
30 "from": "+12345667",
31 "options": {
32 "enhancement": true,
33 "retry": {
34 "count": 2,
35 "delay": 15
36 }
37 },
38 "send_time": "2000-01-01 01:02:03 +0000",
39 "to": [
40 "+12345688",
41 "+12345699"
42 ],
43 "return_ids": true
44 }
45 }
46 const req = await OutboxApiFp(config).sendFax(reqParams);
47 const resp = await req(axios);
48}
49
50sendFax()
faxplus에서 ApiClient, OutboxApi, OutboxComment, RetryOptions, OutboxOptions, OutboxCoverPage, PayloadOutbox를가져옵니다.
faxplus.configuration에서 구성가져오기
아웃박스_댓글 = 아웃박스댓글(태그=['태그1', '태그2'],
text='텍스트 코멘트')
retry_options = RetryOptions(count=2,delay=15)
아웃박스_옵션 = 아웃박스옵션(향상=참, 재시도=재시도_옵션)
아웃박스_커버_페이지 = 아웃박스커버페이지()
payload_outbox = 페이로드아웃박스(from='+12345667',
to=['+12345688', '+12345699'],
files=['filetosend.pdf'],
comment=outbox_comment,
options=outbox_옵션,
send_time='2000-01-01 01:02:03 +0000',
return_ids=True,
커버_페이지=아웃박스_커버_페이지)
conf = 구성()
conf.access_token = access_token
# header_name 및 header_value는 OAuth2 토큰 체계를 사용할 때만 필요
api_client = ApiClient(header_name='x-fax-clientid', header_value=client_id, configuration=conf)
api = 아웃박스Api(api_client)
resp = api.send_fax(
user_id='13d8z73c',
body = 페이로드_아웃박스
)
<?php
require 'vendor/autoload.php';
$headers = array(
'Accept' => 'application/json',
'Authorization' => 'Bearer {access-token}',
// The x-fax-clientid header is required only when using the OAuth2 token scheme
'x-fax-clientid' => '{client ID}',
);
$client = new GuzzleHttp\Client();
// Define array of request body.
$request_body = ...; // See request body example
try {
$response = $client->request('POST','https://restapi.fax.plus/v3/accounts/{user_id}/outbox', array(
'headers' => $headers,
'json' => $request_body,
)
);
print_r($response->getBody()->getContents());
}
catch (GuzzleHttp\Exception\BadResponseException $e) {
// handle exception or api errors.
print_r($e->getMessage());
}
// ...
package main
import (
"bytes"
"net/http"
)
func main() {
headers := map[string][]string{
// The x-fax-clientid header is required only when using the OAuth2 token scheme
"Content-Type": []string{"application/json"},
"Accept": []string{"application/json"},
"Authorization": []string{"Bearer {access-token}"},
"x-fax-clientid": []string{"YOUR CLIENT_ID"}
}
data := bytes.NewBuffer([]byte{jsonReq})
req, err := http.NewRequest("POST", "https://restapi.fax.plus/v3/accounts/{user_id}/outbox", data)
req.Header = headers
client := &http.Client{}
resp, err := client.Do(req)
// ...
}
기업과 팀은 비즈니스 성장을 위해 Fax.Plus 신뢰합니다.
모든 알로히 서비스에서 일관되고 안정적인 가동 시간 제공
Fax.Plus 영향을 받는 국가
Dropbox 데이터 센터는 가장 엄격한 규정을 충족하도록 인증, 감사, 검증을 거쳐 데이터의 보안과 규정 준수를 보장합니다.
최첨단 팩스 솔루션이 의료 기관에 어떤 도움을 줄 수 있는지 알고 싶으신가요?
데모를 예약하시면 담당자가 맞춤형 데모를 위해 연락드리겠습니다.