Thời gian tạo đã thay đổi

Mô tả

Vấn đề về thời gian tạo đã thay đổi xảy ra khi review hoặc merchant có thời gian tạo khác nhau trong các bản cập nhật. Vì thời gian tạo là một trường không thể thay đổi, nên các thay đổi đối với thời gian tạo sẽ gây ra vấn đề này.

Cách khắc phục

Chọn một trong các cách sau để giải quyết vấn đề:

Tùy chọn A:

Nếu bạn muốn sử dụng thời gian tạo ban đầu, hãy gửi lại review hoặc merchant bằng create_timestamp ban đầu và last_update_timestamp đã cập nhật.

Cách B:

Nếu bạn muốn sử dụng thời gian tạo mới, hãy phân phối lại review hoặc merchant bằng create_timestamp mới và last_update_timestamp đã cập nhật. Sau đó, hãy thông báo cho nhóm hỗ trợ về tên tệp chứa mục nhập. Nhóm hỗ trợ có thể giúp bạn giải quyết vấn đề này.

Ví dụ:

Vào ngày 1 tháng 3, bạn tải tệp nguồn cấp dữ liệu "2017_03_01.xml" lên điểm cuối. Tệp này chứa một mục cho bài đánh giá chưa được gửi trước đây:

<review id="156368" mid="2739">
  <reviewer_name>Ada</reviewer_name>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-02-25T03:02:23Z</last_update_timestamp>
  <country_code>US</country_code>
  <title>Great prices</title>
  <content>My order arrived on time and I got a great price.</content>
  <ratings>
    <overall min="1" max="10">9</overall>
    <customer_service min="1" max="10">10</customer_service>
  </ratings>
  <collection_method>after_fulfillment</collection_method>
</review>

Ngày hôm sau, bạn gửi tệp nguồn cấp dữ liệu sau "2017_03_02.xml", trong đó cập nhật thời gian tạo cho bài đánh giá "156368":

<review id="156368" mid="2739>
  <reviewer_name>Ada</reviewer_name>
  <create_timestamp>2017-02-26T11:01:42Z</create_timestamp>
  <last_update_timestamp>2017-02-26T11:01:42Z</last_update_timestamp>
  <country_code>US</country_code>
  <title>Great prices!</title>
  <content>My order arrived on time and I got a great price.</content>
  <ratings>
    <overall min="1" max="10">9</overall>
    <customer_service min="1" max="10">10</customer_service>
  </ratings>
  <collection_method>after_fulfillment</collection_method>
</review>

Mục thứ hai để xem xét "156368" tạo ra xung đột về thời gian tạo. Bạn nhận được thông báo từ nhóm hỗ trợ cho biết đã xảy ra vấn đề về dữ liệu.

Sau khi xem xét tài liệu về cách khắc phục vấn đề này, bạn chọn Cách A để thay đổi thời gian tạo về thời gian ban đầu. Thời gian tạo ban đầu là "2017-02-25T03:02:23Z", do đó, bạn gửi tệp nguồn cấp dữ liệu "2017_03_10-fix.xml" vào ngày 10 tháng 3:

<review id="156368" mid="2739">
  <reviewer_name>Ada</reviewer_name>
  <create_timestamp>2017-02-25T03:02:23Z</create_timestamp>
  <last_update_timestamp>2017-03-09T02:40:23Z</last_update_timestamp>
  <country_code>US</country_code>
  <title>Great prices!</title>
  <content>My order arrived on time and I got a great price.</content>
  <ratings>
    <overall min="1" max="10>9</overall>
    <customer_service min="1" max="10">10</customer_service>
  </ratings>
  <collection_method>after_fulfillment</collection_method>
</review>