Guest User

fefe

a guest
Aug 3rd, 2018
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 KB | None | 0 0
  1.  
  2. Updating address in "p_settings_address" with
  3.  
  4. user.address1 = st.address1;
  5. user.address2 = st.address2;
  6. user.city = st.city;
  7. user.state = st.state;
  8. user.zip = st.zipcode;
  9. user.country = st.country
  10.  
  11. data >>> {
  12. "id": "si288AAOp0pG18or",
  13. "email": "demo@trifigo.com",
  14. "firstName": "Mike",
  15. "lastName": "Logan",
  16. "cellPhone": "032133",
  17. "status": "A",
  18. "profileImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/si288AAOp0pG18or/IMG_0001.JPG",
  19. "coverImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/demo/bg.png",
  20. "accountVerified": true,
  21. "address1": "warsaw",
  22. "address2": "poland",
  23. "city": "missisipi",
  24. "state": "TX",
  25. "zip": "898213829",
  26. "country": "USA"
  27. }
  28.  
  29. Response from server:
  30. Status : 404
  31. "ERR:U010 failed"
  32.  
  33. ############################################################################################
  34.  
  35.  
  36. Updating phone in "p_settings_phone" with
  37.  
  38.  
  39. user.cellPhone = st.cellPhone;
  40. user.otherPhone = st.otherPhone;
  41.  
  42. data >>> {
  43. "id": "si288AAOp0pG18or",
  44. "email": "demo@trifigo.com",
  45. "firstName": "Mike",
  46. "lastName": "Logan",
  47. "cellPhone": "0922222",
  48. "status": "A",
  49. "profileImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/si288AAOp0pG18or/IMG_0001.JPG",
  50. "coverImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/demo/bg.png",
  51. "accountVerified": true,
  52. "address1": "warsaw",
  53. "address2": "poland",
  54. "city": "missisipi",
  55. "state": "TX",
  56. "zip": "898213829",
  57. "country": "USA",
  58. "otherPhone": "010101010"
  59. }
  60.  
  61. cellphone was saved, with status code 200 but otherPhone was not saved.
  62.  
  63.  
  64. ############################################################################################
  65.  
  66.  
  67. updating email in "p_settings_email" with
  68.  
  69. user.email1 = st.email1;
  70. user.email2 = st.email2;
  71.  
  72.  
  73.  
  74. data >>> {
  75. "id": "si288AAOp0pG18or",
  76. "email": "demo@trifigo.com",
  77. "firstName": "Mike",
  78. "lastName": "Logan",
  79. "cellPhone": "0922222",
  80. "status": "A",
  81. "profileImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/si288AAOp0pG18or/IMG_0001.JPG",
  82. "coverImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/demo/bg.png",
  83. "accountVerified": true,
  84. "address1": "warsaw",
  85. "address2": "poland",
  86. "city": "missisipi",
  87. "state": "TX",
  88. "zip": "898213829",
  89. "country": "USA",
  90. "otherPhone": "010101010",
  91. "email1": "test@live.com",
  92. "email2": "keep90@live.com"
  93. }
  94.  
  95. Response from server:
  96. Status : 404
  97. "ERR:U010 failed"
  98.  
  99.  
  100.  
  101. ############################################################################################
  102.  
  103.  
  104. updating dob in "p_settings_dob" with
  105.  
  106. var final_Dob = st.year+'-'+st.month+'-'+st.date
  107. console.log(final_Dob)
  108.  
  109. user.dob = JSON.stringify(final_Dob)
  110.  
  111.  
  112. data >>> {
  113. "id": "si288AAOp0pG18or",
  114. "email": "demo@trifigo.com",
  115. "firstName": "Mike",
  116. "lastName": "Logan",
  117. "cellPhone": "0922222",
  118. "status": "A",
  119. "profileImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/si288AAOp0pG18or/IMG_0001.JPG",
  120. "coverImgUrl": "https://s3-us-west-2.amazonaws.com/tfgimages/demo/bg.png",
  121. "accountVerified": true,
  122. "address1": "warsaw",
  123. "address2": "poland",
  124. "city": "missisipi",
  125. "state": "TX",
  126. "zip": "898213829",
  127. "country": "USA",
  128. "otherPhone": "010101010",
  129. "email1": "test@live.com",
  130. "email2": "keep90@live.com",
  131. "dob": "\"1990-3-2\""
  132. }
  133.  
  134. Response from server:
  135. Status : 404
  136. "ERR:U010 failed"
  137.  
  138.  
  139.  
  140. ############################################################################################
  141.  
  142.  
  143. updating work employer at "p_settings_work_employer"
  144.  
  145. user.employer = st.employer;
  146.  
  147. Response from server:
  148. Status : 404
  149. "ERR:U010 failed"
  150.  
  151.  
  152.  
  153. ############################################################################################
  154.  
  155.  
  156. Similar responses for work address and work phone.
  157.  
  158. * Please specify questions for privacy and support.
Add Comment
Please, Sign In to add comment