TargetMessage » 이력 » 개정판 3
개정판 2 (이름없음, 2021/06/04 06:10) → 개정판 3/8 (이름없음, 2021/06/04 07:47)
h1. TargetMessage h2. %{color: #000000;}요청 필드% <pre><code class="c"> targetMessage( messageTargetRequest: MessageTargetRequest ): MessageResponse </code></pre> *%{color: #000000;}MessageTargetRequest%* | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청 Command 유형 (값: "targetMessage")% "tnkSettlement")% | | %{color: #000000;}did% | %{color: #000000;}String% | %{color: #000000;}snplab의 did% | | message | %{color: #000000;}String% | 메시지 내용 | | target | %{color: #000000;}String% | 메시지 수신 대상 | *%{color: #000000;}MessageResponse%* | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청Command 유형% | | %{color: #000000;}result% | %{color: #000000;}String% | %{color: #000000;} % | *%{color: #000000;}요청 예시%* <pre> mutation{ targetMessage(messageTargetRequest:{ did:"NfoPEFaG1adkCpijR85L66" command:"targetMessage" target:"did:NfoPEFaG1adkCpijR85L66" message:"{\"data\": {\"Command\": 0,\"Notification\": {\"Title\": \"타이틀\",\"Content\": \"상세 메시지\",\"OnGoing\": false,\"Priority\": 0,\"ImageUrl\": \"https://\",\"ShowBadge\": false},\"MoveTo\": 0,\"AppUpdate\": {\"TargetVersion\": 21010601,\"IsMandatory\": true},\"DataUpdate\": {\"Target\": 0},\"DataCollect\": {\"Type\": 1,\"ProposalID\": \"*\"}}}" }){ command result } }</pre> *%{color: #000000;}응답 예시%* 예시 없음