Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (25 sloc) 1.1 KB

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:

You can’t perform that action at this time.