프로젝트

일반

사용자정보

ActivateProposal » 이력 » 버전 5

이름없음, 2021/06/07 04:28

1 1 이름없음
h1. ActivateProposal
2 2 이름없음
3 4 이름없음
* 비활성화 상태인 제안서를 활성화 합니다.
4 2 이름없음
5 4 이름없음
*ProposalActivateRequest (param)*
6 2 이름없음
7
| *field* | *type* | *description* | *note* |
8
| did | String |   |   |
9
| command | String |   |   |
10
| proposalId | String |   |   |
11
| deposit | String |   |   |
12
13
*ProposalResponse*
14
15 5 이름없음
| *field* | *type* | *description* | *note* |
16
| command | String |   |   |
17
| status | int |   |   |
18
| purpose | int |   |   |
19
| maxIssuable | int |   |   |
20
| category | int[] |   |   |
21
| disAllowMultiIssue | boolean |   |   |
22
| condition | String |   |   |
23
| content | String |   |   |
24
| createdAt | String |   |   |
25
| revokedAt | String |   |   |
26
| updatedAt | String |   |   |
27
| deposit | String |   |   |
28
| duration | String |   |   |
29
| filter | String |   |   |
30
| notAfter | String |   |   |
31
| notBefore | String |   |   |
32
| owner | String |   |   |
33
| proposalId | String |   |   |
34
| ticketValidFrom | String |   |   |
35
| description | String[] |   |   |
36
| imageurl | String[] |   |   |
37
| consumePolicy | ProposalConsumePolicy |   |   |
38
| rewardPolicy | ProposalRewardPolicy |   |   |
39
40 2 이름없음
---
41
42
*Request Example*
43
44
<pre><code class="java">
45
mutation {
46
  activateProposal (param: {
47 3 이름없음
    did: "NfoPEFaG1adkCpijR85L66" 
48
    command: "activateProposal" 
49
    proposalId: "orPxmv15e2oSPufT3Tm5kBTWEuErMeLvdYrXdEnzsHtQMWbVwiq6TGBgczmdbh9UrSXB9YRKTG15w5EzM8Na5XRFaPxaW8LzmckzP8bSLq67pRM7X" 
50
    deposit: "Gjk8x4CWuN9XcZeW3ivXNET4v4AoTTUVrjoNZNrrSPCjUUbM1T2CmZ1BRZ39dgmQcNpvpfcNoGZDMxdY6dTTe2QG5py5PRMe37JPAEwFLdLbejXZKfZb" 
51 2 이름없음
  }) {
52
    status
53
    proposalId
54
  }
55
}
56
</code></pre>
57
58
*Response Example*
59
60
<pre><code class="java">
61
{
62
  "data": {
63
    "activateProposal": {
64
      "status": 0,
65 3 이름없음
      "proposalId": "orPxmv15e2oSPufT3Tm5kBTWEuErMeLvdYrXdEnzsHtQMWbVwiq6TGBgczmdbh9UrSXB9YRKTG15w5EzM8Na5XRFaPxaW8LzmckzP8bSLq67pRM7X" 
66 1 이름없음
    }
67
  }
68
}
69
</code></pre>
70 3 이름없음
71
---
72
73
*필드 관련하여 자세한 내용은 아래 URL 참고*
74
75
* "UNO.Cranberry ChainCode":https://snplab.synology.me/confluence/display/CBU/Cranberry+Chaincode
클립보드 이미지 추가 (최대 크기: 97.7 MB)