تم تغيير وقت الإنشاء

الوصف

تحدث مشكلة تغيير وقت الإنشاء عندما يكون review أو merchant لهما أوقات إنشاء مختلفة في التحديثات. بما أنّ وقت الإنشاء هو حقل غير قابل للتغيير، ستؤدي التغييرات التي يتم إجراؤها على وقت الإنشاء إلى حدوث هذه المشكلة.

كيفية حلّ المشكلة

اختَر أحد الخيارات التالية لحلّ المشكلة:

الخيار (أ):

إذا كنت تريد استخدام وقت الإنشاء الأصلي، أعِد إرسال review أو merchant مع create_timestamp الأصلي وlast_update_timestamp المعدَّل.

الخيار (ب):

إذا أردت استخدام وقت إنشاء جديد، أعِد إرسال review أو merchant مع create_timestamp الجديد وlast_update_timestamp المعدَّل. بعد ذلك، يُرجى إبلاغ فريق الدعم باسم الملف الذي يحتوي على الإدخال. يمكن لفريق الدعم المساعدة في حلّ هذه المشكلة.

مثال

في 1 آذار (مارس)، تحمّل ملف الخلاصة "2017_03_01.xml" إلى نقطة النهاية. يحتوي الملف على إدخال لمراجعة لم يتم إرسالها سابقًا:

<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>

في اليوم التالي، يمكنك تسليم ملف الخلاصة التالي "2017_03_02.xml"، والذي يعدّل وقت إنشاء المراجعة "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>

يؤدي الإدخال الثاني للمراجعة "156368" إلى حدوث تعارض في وقت الإنشاء. تتلقّى إشعارًا من فريق الدعم لإعلامك بحدوث مشكلة في البيانات.

بعد مراجعة المستندات حول كيفية حلّ هذه المشكلة، اخترت الخيار أ لتغيير وقت الإنشاء إلى ما كان عليه في الأصل. كان وقت الإنشاء الأصلي هو "2017-02-25T03:02:23Z"، وبالتالي، عليك تسليم ملف الخلاصة التالي "2017_03_10-fix.xml" في 10 آذار (مارس):

<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>