dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40251
Re: Loading missing period records through webAPI?
I am not really sure why this would be needed. Could you explain more why
you need this?
The period formats are well documented (
https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s04.html), so
there is no need to have them stored by the server. The client can simply
create the periods as they need them. If they already exist, nothing will
happen, otherwise, they will by dynamically created when data is imported.
Regards,
Jason
On Mon, Sep 28, 2015 at 2:19 PM, Greg Rowles <greg.rowles@xxxxxxxxx> wrote:
> Hi Jason
>
> Yeah, its for a "non-standard" DHIS2 instance. Our national data
> dictionary doesn't host actual data only master meta-data. Any suggestions?
> I don't see any options for periods under meta-data export either...
>
> Greg
>
>
> On Mon, Sep 28, 2015 at 2:17 PM, Jason Pickering <
> jason.p.pickering@xxxxxxxxx> wrote:
>
>> Hi Greg,
>>
>> There is no need to do this, as they will be added when data actually
>> exists for that period.
>>
>> I suppose you could add a dummy record and delete it, and that would have
>> the same affect as creating the period.
>>
>> Regards,
>> Jason
>>
>>
>> On Mon, Sep 28, 2015 at 2:10 PM, Greg Rowles <greg.rowles@xxxxxxxxx>
>> wrote:
>>
>>> Hi Devs
>>>
>>> Is there an API call to add missing period records? E.g. we have no
>>> yearly (periodtypeid: 8) records in an instance which has restricted
>>> access. Only API calls are supported...
>>>
>>> Regards,
>>> Greg
>>>
>>> --
>>> *Health Information Systems Program - South Africa*
>>> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - -
>>> - - *
>>> Mobile : 073 246 2992
>>> Landline: 021 554 3130
>>> Fax: 086 733 8432
>>> Skype: gregory_rowles
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Jason P. Pickering
>> email: jason.p.pickering@xxxxxxxxx
>> tel:+46764147049
>>
>
>
>
> --
> *Health Information Systems Program - South Africa*
> *- - - - - - - **- - - - - - - **- - - - - - - **- - - - - - - **- - - -
> - *
> Mobile : 073 246 2992
> Landline: 021 554 3130
> Fax: 086 733 8432
> Skype: gregory_rowles
>
--
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+46764147049
Follow ups
References