Sha256: 2c35d9c19aaf44df5a1bf8170538a772ba282ff76cfbd2cc9600073ff4a6900f
Contents?: true
Size: 1.75 KB
Versions: 3
Compression:
Stored size: 1.75 KB
Contents
--- http_interactions: - request: method: post uri: https://api.fortnox.se/3/articles/ body: encoding: UTF-8 string: '{"Article":{"Description":"A value","SalesAccount":1250}}' headers: Content-Type: - application/json Accept: - application/json Client-Secret: - 9aBA8ZgsvR Access-Token: - ccaef817-d5d8-4b1c-a316-54f3e55c5c54 response: status: code: 201 message: Created headers: Server: - nginx Date: - Wed, 29 May 2019 07:52:44 GMT Content-Type: - application/json Connection: - close Location: - articles X-Rack-Responsetime: - '140' X-Uid: - af279886 X-Build: - e930a91c78 body: encoding: UTF-8 string: '{"Article":{"@url":"https:\/\/api.fortnox.se\/3\/articles\/23","ArticleNumber":"23","Bulky":false,"ConstructionAccount":0,"Depth":0,"Description":"A value","DisposableQuantity":0,"EAN":"","EUAccount":3200,"EUVATAccount":3231,"ExportAccount":3200,"Height":0,"Housework":false,"HouseworkType":null,"Active":true,"Manufacturer":null,"ManufacturerArticleNumber":"","Note":"","PurchaseAccount":3100,"PurchasePrice":0,"QuantityInStock":0,"ReservedQuantity":0,"SalesAccount":1250,"StockGoods":false,"StockPlace":null,"StockValue":0,"StockWarning":0,"SupplierName":null,"SupplierNumber":null,"Type":"STOCK","Unit":null,"VAT":0,"WebshopArticle":false,"Weight":0,"Width":0,"Expired":false,"SalesPrice":null,"CostCalculationMethod":null,"StockAccount":null,"StockChangeAccount":null,"DirectCost":0,"FreightCost":0,"OtherCost":0,"DefaultStockPoint":null,"DefaultStockLocation":null}}' http_version: recorded_at: Wed, 29 May 2019 07:52:44 GMT recorded_with: VCR 4.0.0
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fortnox-api-0.7.2 | spec/vcr_cassettes/articles/save_new.yml |
fortnox-api-0.7.1 | spec/vcr_cassettes/articles/save_new.yml |
fortnox-api-0.7.0 | spec/vcr_cassettes/articles/save_new.yml |