Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Request:
- POST https://quickbooks.api.intuit.com/v3/company/123146307853129/item?requestid=ee2c5cfa-f0b3-d234-29ec-dace9a47d6e9&minorversion=6 HTTP/1.1
- Content-Type: application/xml
- 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"
- Content-Length: 1742
- <Item xmlns="http://schema.intuit.com/finance/v3">
- <Name>#1 ZIP BOOT - 3/4"- 2 3/4" RF801B</Name>
- <Taxable>1</Taxable>
- <Active>1</Active>
- <UnitPrice>24.95</UnitPrice>
- <Type>Inventory</Type>
- <IncomeAccountRef>97</IncomeAccountRef>
- <ExpenseAccountRef>100</ExpenseAccountRef>
- <AssetAccountRef>99</AssetAccountRef>
- <QtyOnHand>184</QtyOnHand>
- <Description><h3 class="specs_section">Product Specifications</h3>
- <ul class="specs-list">
- <li class="odd"><span class="list-label">Base Width:</span><span class="list-value">6.25"</span></li>
- <li class="even"><span class="list-label">Fits Pipe Size:</span><span class="list-value">3/4" - 2-3/4"</span></li>
- <li class="even"><span class="list-label">Material:</span><span class="list-value">EPDM</span></li>
- <li class="odd"><span class="list-label">Type:</span><span class="list-value">Round Retrofit</span></li>
- <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>
- </ul></Description>
- <Sku>SKU-2360</Sku>
- <TrackQtyOnHand>1</TrackQtyOnHand>
- <InvStartDate>2019-02-28</InvStartDate>
- </Item>
- Response:
- HTTP/1.1 100 Continue
- HTTP/1.1 400 Bad Request
- Server: nginx
- Date: Wed, 06 Mar 2019 21:23:53 GMT
- Content-Type: application/xml
- Content-Length: 427
- Connection: keep-alive
- Keep-Alive: timeout=5
- Strict-Transport-Security: max-age=15552000
- intuit_tid: a628f02d-7397-14d6-4f0a-0bc021842b33
- Set-Cookie: qboeuid=cc3e666b.583739b4a19a8; path=/; expires=Thu, 05-Mar-20 21:23:53 GMT; domain=.intuit.com
- X-XSS-Protection: 1; mode=block
- <?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