Fulfillment endpoints summary

Hi,

  I checked our endpoints in the fulfillment service and I have some questions about some of them:

  1. **PUT /api/orders/{id}** - Should be possible to update an order? From what I know an order is created based on data from a requisition but whether a user should be able to update the order later?
  1. DELETE /api/orders/{id} - Should be possible to remove an order? What should happen with POD object? Currently we only remove an order from our database. If the removing an order should be possible, should we remove also POD object? Should we do anything with a requisition?

  2. PUT /api/orders/{id}/finalize - I don’t see where this endpoint could be used but I can assume that in the future it will be used. Should it be related with POD submit endpoint?

  3. POST /api/proofOfDeliveries - Should be possible to create a POD object from scratch? From what I know the POD object will be created when a new order is created.

  4. DELETE /api/proofOfDeliveries/{id} - the UI does not provide ability to remove a POD (no delete button on the POD view). Should backend provide this option?

Regards,

  Łukasz

···


Łukasz Lewczyński

    Software Developer

SolDevelo Sp. z o. o. [LLC]

     Office:  +48 58 782 45 40 / Fax:  +48 58 782 45 41  Al. Zwycięstwa 96/98  81-451, Gdynia

     [http://www.soldevelo.com](http://www.SolDevelo.com)

               Place of registration: Regional Court for the City of Gdansk            KRS: 0000332728, TAX ID: PL5862240331, REGON: 220828585,            Share capital: 60,000.00 PLN

llewczynski@soldevelo.com

Hey Łukasz,

Here are my responses for those questions.

  1. I don’t think we should allow it at this time.

  2. I believe there was a discussion about the DELETEs and in this case, we should not allow it.

  3. This may not be necessary, so I don’t think we should allow it at this time.

  4. This may not be necessary, so I don’t think we should allow it at this time.

  5. I believe there was a discussion about the DELETEs and in this case, we should not allow it.

Since none of these endpoints are necessary, we can either remove them from the code or mark they are not to be used. If it’s the same level of effort, I would prefer they be removed.

Shalom,

Chongsun

– ​

There are 10 kinds of people in this world; those who understand binary, and those who don’t.

Chongsun Ahn | chongsun.ahn@villagereach.org

Software Development Engineer

Village****Reach* ** Starting at the Last Mile*

2900 Eastlake Ave. E, Suite 230, Seattle, WA 98102, USA

DIRECT: 1.206.512.1536 **CELL: **1.206.910.0973 FAX: 1.206.860.6972

SKYPE: chongsun.ahn.vr

www.villagereach.org

Connect on Facebook****, Twitter** ** and our Blog

···


<Soldevelo_logo_EPS_CMYK.png>

Łukasz Lewczyński

Software Developer

SolDevelo Sp. z o. o. [LLC]

Office: +48 58 782 45 40
/ Fax: +48 58 782 45 41
Al. Zwycięstwa 96/98
81-451, Gdynia

http://www.soldevelo.com

Place of registration: Regional Court for the City of Gdansk
KRS: 0000332728, TAX ID: PL5862240331, REGON: 220828585,
Share capital: 60,000.00 PLN

llewczynski@soldevelo.com