Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Tutorial

Plan creation

Creating plan procurement

Let’s create a plan:

We have 201 Created response code, Location header and body with extra id, planID, and dateModified properties.

Let's check what plan registry contains:

We do see the internal id of a plan (that can be used to construct full URL by prepending http://api-sandbox.openprocurement.org/api/0/plans/) and its dateModified datestamp.

Modifying plan

Let's update plan by supplementing it with all other essential properties:

We see the added properies have merged with existing plan data. Additionally, the dateModified property was updated to reflect the last modification datestamp.

Checking the listing again reflects the new modification date: