介紹官方文件,又是個偷懶的一天......
首先老鷹要介紹老鷹有測試過的
<?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<MessageIDs>
<MessageID>訊息編號</MessageID>
</MessageIDs>
<StartTime>開始時間</StartTime>
<DetailLevel>詳細程度[標題,訊息,全部]</DetailLevel>
</GetMyMessagesRequest>
以下是官方全部
<?xml version="1.0" encoding="utf-8"?>
<GetMyMessagesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<!-- Call-specific Input Fields -->
<EndTime> dateTime </EndTime>
<ExternalMessageIDs> MyMessagesExternalMessageIDArrayType
<ExternalMessageID> MyMessagesExternalMessageIDType (string) </ExternalMessageID>
<!-- ... more ExternalMessageID values allowed here ... -->
</ExternalMessageIDs>
<FolderID> long </FolderID>
<IncludeHighPriorityMessageOnly> boolean </IncludeHighPriorityMessageOnly>
<MessageIDs> MyMessagesMessageIDArrayType
<MessageID> MyMessagesMessageIDType (string) </MessageID>
<!-- ... more MessageID values allowed here ... -->
</MessageIDs>
<Pagination> PaginationType
<EntriesPerPage> int </EntriesPerPage>
<PageNumber> int </PageNumber>
</Pagination>
<StartTime> dateTime </StartTime>
<!-- Standard Input Fields -->
<DetailLevel> DetailLevelCodeType </DetailLevel>
<!-- ... more DetailLevel values allowed here ... -->
<ErrorLanguage> string </ErrorLanguage>
<MessageID> string </MessageID>
<OutputSelector> string </OutputSelector>
<!-- ... more OutputSelector values allowed here ... -->
<Version> string </Version>
<WarningLevel> WarningLevelCodeType </WarningLevel>
</GetMyMessagesRequest>
官方文件
http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetMyMessages.html
官方文件API這麼多,欄位也那麼長,怎麼知道怎麼使用呢?
以StartTime來說一下!
這個兩個英文單字組成 Start Time,
直譯過來就是 開始時間.
ebay api 文件欄位是由單字組成,
這樣閱讀文件時就比較能知道這個欄位的意思了~~!
明天又是沙盤時間嚕~~!
今天就告一段落