버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.
목차

...

/message/getList

Description

메시지 배송 서버로 전달된 메시지 목록을 조회합니다.

...

코드 블럭
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
   
{
            "maxCount": 10,
            "totalCount": 3,
            "nextPageKey": 6,
            "messages": [
                {
                    "appId": "103815",
                    "senderAppId": "103815",
                    "senderId": "23423432453",
                    "receiverId": "23423432453",
                    "message": {
                        "deliverySeq": 7,
                        "messageId": "fcc794be-002b-4ec4-abce-b40407a95a93",
                        "messageBoxId": "inBox",                      
                        "title": "test message title",
                        "body": "test message body",
                        "resourceMap": {
                            "imageLink": "test://12221212"
                        },
                        "state": "read",
                        "regTime": 1427350711000,
                        "modTime": 1427350711000,
                        "readTime": 1427350711000,
                        "expiredTime": 1435126739000
                    },
                    "items": [
                        {
                            "itemId": "e3b35f9f-b556-4473-9aff-6232d9532f61",
                            "quantity": 100,
                            "itemCode": "testItem111",
                            "state": "confirmed",
                            "regTime": 1427350711000,
                            "modTime": 1427350711000,
                            "sentTime": 1427350711000,
                            "confirmedTime": 1427350711000,
                            "expiredTime": 1435126739000,
                            "validityTime": -1
                        }
                    ]
                }
            ]
}

 

 

...

/message/finish

Description

메시지에 포함된 아이템의 배송 트랜잭션을 종료 처리(아이템 지급완료)하고 메시지를 삭제합니다.

...