Our Gift to You: 20% off your own designs in Strong & Flexible Plastic through Dec 23, with promo code MY2014 · details
Home » Developers » Shapeways API » POST models/v1
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
POST models/v1 [message #70022] Tue, 18 June 2013 11:14 UTC Go to next message
avatar Rafferty  is currently offline Rafferty
Messages: 7
Registered: February 2012
Go to my shop
Junior Member
Hi,

I'm using the POST modes/v1 API to upload a model.

The API documentation describes values of "price" and "basePrice" returned within the Material elements. However, all I am receiving for each material is {\"materialId\":6,\"markup\":0,\"isActive\":1}

Is there something I need to set to specify to get the price calculation. I am specifying a particular material - but am getting a long list of materials back (including the one I specify)..

Thanks in advance

Rafferty
Re: POST models/v1 [message #70171 is a reply to message #70022 ] Thu, 20 June 2013 15:27 UTC Go to previous messageGo to next message
avatar ProfessorBeekums  is currently offline ProfessorBeekums
Messages: 35
Registered: February 2013
Go to my shop
Member
I work here
Hi Rafferty,

Unfortunately this is a bug in the API. You should be getting those fields. We'll get that fixed as soon as we can.

Thanks,
Beekey
Re: POST models/v1 [message #70245 is a reply to message #70171 ] Fri, 21 June 2013 09:28 UTC Go to previous messageGo to next message
avatar Rafferty  is currently offline Rafferty
Messages: 7
Registered: February 2012
Go to my shop
Junior Member
Thanks for the reply.

Assuming my volume/surface area/bounding box calculations matched yours - would the price returned by the models upload API differ from that returned by the price API?
Re: POST models/v1 [message #70477 is a reply to message #70245 ] Tue, 25 June 2013 14:47 UTC Go to previous message
avatar ProfessorBeekums  is currently offline ProfessorBeekums
Messages: 35
Registered: February 2013
Go to my shop
Member
I work here
The answer is yes, but there are caveats. Our automated checks will sometimes make changes to the model to prep it for printing (such as re-orienting the model). This is to reduce the instances of Shapeways rejecting models as unprintable. These changes may also affect the pricing. We are working on ways of communicating what these changes are so that you can submit model files that we won't need to modify.

-Beekey

 
   
Previous Topic:POST /models/{modelId}/photos/v1
Next Topic:/price/v1 bounding box parameters

Logo

Hello.

We're sorry to inform you that we no longer support this browser and can't confirm that everything will work as expected. For the best Shapeways experience, please use one of the following browsers:

Click anywhere outside this window to continue.