Advertisement
myworks

Untitled

Mar 6th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. Request:
  2. POST https://quickbooks.api.intuit.com/v3/company/123146307853129/item?requestid=ee2c5cfa-f0b3-d234-29ec-dace9a47d6e9&minorversion=6 HTTP/1.1
  3. Content-Type: application/xml
  4. Authorization: OAuth realm="", oauth_signature_method="HMAC-SHA1", oauth_signature="XFjCpr20QDnbW6%2FUbBB4GHNo7uU%3D", oauth_nonce="KvI4R", oauth_timestamp="1551907432", oauth_token="lvprdPWPAG2YqjYlQF9xiDtCPG7QSA8qMyvjefVXvLInnKVB", oauth_consumer_key="qyprdZNHZbDxasBSSjQMBj0K3tPijz", oauth_version="1.0"
  5. Content-Length: 1742
  6.  
  7. <Item xmlns="http://schema.intuit.com/finance/v3">
  8. <Name>#1 ZIP BOOT - 3/4"- 2 3/4" RF801B</Name>
  9. <Taxable>1</Taxable>
  10. <Active>1</Active>
  11. <UnitPrice>24.95</UnitPrice>
  12. <Type>Inventory</Type>
  13. <IncomeAccountRef>97</IncomeAccountRef>
  14. <ExpenseAccountRef>100</ExpenseAccountRef>
  15. <AssetAccountRef>99</AssetAccountRef>
  16. <QtyOnHand>184</QtyOnHand>
  17. <Description><h3 class="specs_section">Product Specifications</h3>
  18. <ul class="specs-list">
  19. <li class="odd"><span class="list-label">Base Width:</span><span class="list-value">6.25"</span></li>
  20. <li class="even"><span class="list-label">Fits Pipe Size:</span><span class="list-value">3/4" - 2-3/4"</span></li>
  21. <li class="even"><span class="list-label">Material:</span><span class="list-value">EPDM</span></li>
  22. <li class="odd"><span class="list-label">Type:</span><span class="list-value">Round Retrofit</span></li>
  23. <li>Roofjack square Pipe flashing boots are quality EPDM vent pipe boots designed to provide maximum Ozone, UV light and temperature resistance. Flexible aluminum base will allow the flashing to conform to any metal roof configuration. Pipe location can be centered in the flat of the panel or the rib. Urethane sealant & self-drilling screws complete the installation.</li>
  24. </ul></Description>
  25. <Sku>SKU-2360</Sku>
  26. <TrackQtyOnHand>1</TrackQtyOnHand>
  27. <InvStartDate>2019-02-28</InvStartDate>
  28. </Item>
  29. Response:
  30. HTTP/1.1 100 Continue
  31.  
  32. HTTP/1.1 400 Bad Request
  33. Server: nginx
  34. Date: Wed, 06 Mar 2019 21:23:53 GMT
  35. Content-Type: application/xml
  36. Content-Length: 427
  37. Connection: keep-alive
  38. Keep-Alive: timeout=5
  39. Strict-Transport-Security: max-age=15552000
  40. intuit_tid: a628f02d-7397-14d6-4f0a-0bc021842b33
  41. Set-Cookie: qboeuid=cc3e666b.583739b4a19a8; path=/; expires=Thu, 05-Mar-20 21:23:53 GMT; domain=.intuit.com
  42. X-XSS-Protection: 1; mode=block
  43.  
  44. <?xml version="1.0" encoding="UTF-8" standalone="yes"?><IntuitResponse xmlns="http://schema.intuit.com/finance/v3" time="2019-03-06T13:23:53.364-08:00"><Fault type="ValidationFault"><Error code="6240" element=""><Message>Duplicate Name Exists Error</Message><Detail>The name supplied already exists. : Another product or service is already using this name. Please use a different name.</Detail></Error></Fault></IntuitResponse>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement