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