ClaimTicket » 이력 » 버전 8
이름없음, 2021/06/10 05:35
1 | 1 | 이름없음 | h1. ClaimTicket |
---|---|---|---|
2 | 2 | 이름없음 | |
3 | 6 | 이름없음 | * 이벤트 제안서에 대한 티켓을 발급합니다. |
4 | 3 | 이름없음 | |
5 | 8 | 이름없음 | --- |
6 | |||
7 | <pre><code class="java"> |
||
8 | claimTicket( |
||
9 | param: TicketClaimRequest |
||
10 | ): TicketClaimResponse |
||
11 | </code></pre> |
||
12 | |||
13 | 6 | 이름없음 | *TicketClaimRequest (param)* |
14 | 3 | 이름없음 | |
15 | | *field* | *type* | *description* | *note* | |
||
16 | | did | String | | | |
||
17 | 7 | 이름없음 | | command | String | | 값 : claimTicket | |
18 | 3 | 이름없음 | | ticketId | String | | | |
19 | | proposalId | String | | | |
||
20 | |||
21 | *TicketClaimResponse* |
||
22 | |||
23 | 1 | 이름없음 | | *field* | *type* | *description* | *note* | |
24 | 7 | 이름없음 | | command | String | | 값 : claimTicket | |
25 | 4 | 이름없음 | | infoUrl | String | 쿠폰 이미지 URL | | |
26 | | couponImg | String | 이벤트 쿠폰 이미지 | | |
||
27 | 1 | 이름없음 | |
28 | --- |
||
29 | 4 | 이름없음 | |
30 | *Request Example* |
||
31 | |||
32 | <pre><code class="java"> |
||
33 | mutation { |
||
34 | claimTicket (param: { |
||
35 | 5 | 이름없음 | did: "G5rw9qAMbozGxySHkMaztD" |
36 | command: "claimTicket" |
||
37 | ticketId: "orPxmv15e2oSPuvTht4CkPi4bVmrC3Z2MGmt3jD89cHSUgn73ijgfNd6s7WRNjHz9oZcQA43E9mQpmSMVGPb2qPmy5oGPtPP3tYgKnnTDj6VJq7Zc" |
||
38 | proposalId: "orPxmv15e2oSPufT3TkfVmj9XSSnAqPzQirrU6A9yJCJovwkK6k89A1wCFwqWvHzNAvbDDypRgn4YeSVbeZDSS7MTRKEY1VCfypDu1wsFm41k22SK" |
||
39 | 4 | 이름없음 | }) { |
40 | infoUrl |
||
41 | couponImg |
||
42 | } |
||
43 | } |
||
44 | </code></pre> |
||
45 | |||
46 | *Response Example* |
||
47 | |||
48 | <pre><code class="java"> |
||
49 | { |
||
50 | "data": { |
||
51 | 5 | 이름없음 | "claimTicket": { |
52 | 4 | 이름없음 | "infoUrl": "", |
53 | 5 | 이름없음 | "couponImg": "" |
54 | 4 | 이름없음 | } |
55 | } |
||
56 | } |
||
57 | </code></pre> |