Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Request:
- POST https://quickbooks.api.intuit.com/v3/company/123146391838064/item?requestid=31f5d287-00f0-4a14-199f-060c56836d7f&minorversion=38 HTTP/1.1
- Content-Type: application/xml
- Authorization: OAuth realm="", oauth_signature_method="HMAC-SHA1", oauth_signature="bgfKTlfB5uZph5aLu55oc9np4xo%3D", oauth_nonce="DurIi", oauth_timestamp="1563456978", oauth_token="lvprdreKFmAY3YKVdZumvAPEsQDbgwVymPcN4gS775ZYfzDR", oauth_consumer_key="qyprdZNHZbDxasBSSjQMBj0K3tPijz", oauth_version="1.0"
- Content-Length: 1473
- <Item xmlns="http://schema.intuit.com/finance/v3">
- <Id>34</Id>
- <MetaData xmlns="http://schema.intuit.com/finance/v3">
- <CreateTime>2019-04-04T14:40:02-07:00</CreateTime>
- <LastUpdatedTime>2019-07-10T18:56:18-07:00</LastUpdatedTime>
- </MetaData>
- <Name>20/20</Name>
- <Taxable>true</Taxable>
- <Active>true</Active>
- <UnitPrice>195</UnitPrice>
- <Type>Inventory</Type>
- <IncomeAccountRef>129</IncomeAccountRef>
- <PurchaseDesc>20/20 TORTOISE</PurchaseDesc>
- <PurchaseCost>13.8</PurchaseCost>
- <ExpenseAccountRef>36</ExpenseAccountRef>
- <AssetAccountRef>130</AssetAccountRef>
- <PrefVendorRef>16</PrefVendorRef>
- <QtyOnHand>498.000000</QtyOnHand>
- <SyncToken>6</SyncToken>
- <Sku>18MCPCS700</Sku>
- <Description>(This is the detailed description)</Description>
- <SubItem>true</SubItem>
- <ParentRef>46</ParentRef>
- <ParentRef_name>Sunglasses</ParentRef_name>
- <Level>1</Level>
- <FullyQualifiedName>Sunglasses:20/20</FullyQualifiedName>
- <IncomeAccountRef_name>Sales of Product Income</IncomeAccountRef_name>
- <ExpenseAccountRef_name>Cost of Goods Sold</ExpenseAccountRef_name>
- <AssetAccountRef_name>Inventory Asset-1</AssetAccountRef_name>
- <PrefVendorRef_name>Cheng Yi Optical Co., Ltd.</PrefVendorRef_name>
- <TrackQtyOnHand>true</TrackQtyOnHand>
- <InvStartDate>2019-07-18</InvStartDate>
- <TaxClassificationRef>EUC-09020802-V1-00120000</TaxClassificationRef>
- <TaxClassificationRef_name>Taxable Retail Items</TaxClassificationRef_name>
- </Item>
- Response:
- HTTP/2 500
- date: Thu, 18 Jul 2019 13:36:19 GMT
- content-type: application/xml
- content-length: 411
- server: nginx
- strict-transport-security: max-age=15552000
- intuit_tid: 33c39541-9522-476c-8e35-a940484f9bb8
- set-cookie: qboeuid=210788b1.58df4b1d6b087; path=/; expires=Fri, 17-Jul-20 13:36:18 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-07-18T06:36:18.732-07:00"><Fault type="SystemFault"><Error code="10000" element="SystemFailureError"><Message>An application error has occurred while processing your request</Message><Detail>System Failure Error: java.lang.NullPointerException</Detail></Error></Fault></IntuitResponse>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement