Using relative period types with DHIS2 API

Hi everyone!!
This is regarding some issues i faced while researching the DHIS2 API. I wanna clarify few things on the dhis2 relative period types. (I was working on the openmrs dhis2 connector module which is used to post aggregate data from OpenMRS to DHIS2)

I read your api documentation and according my understanding, the /api/dataValueSets endpoint uses a request payload like following:

  "dataSet": "iReVg2xgFPL",
  "completeDate": "2018-06-06",
  "period": "201712",
  "orgUnit": "bVo3BRA2D2a",
  "dataValues": [
    { "dataElement": "ta8v9gj6aQC", "value": "10" },
    { "dataElement": "yQfHIwxvCmb", "value": "20" },
    { "dataElement": "CRueZPFX52M", "value": "30" }

I saw that we can use any of the static period types (with the correct period) listed in this documentation: 1.4 Date and period format

My problem is, how can we use the relative period types to send data to dhis2 using the api. Is it possible to use the relative period types with the
/api/dataValueSets endpoint?

Thanks in advancešŸ˜Š