Re: [Dhis2-devs] [Bug 1608644] Re: DHIS2 Tracker API Not inserting Relationships

2016-08-03 Thread generale
Many thanks, I will it worked when I set relationshiptypeid to null and tested. Rgds David On 3 Aug 2016 13:35, "Morten Olav Hansen" <1608...@bugs.launchpad.net> wrote: > Yes, sorry.. I left out the relationship part, hope you will get it > working now > > closing this bug > > ** Changed in: dhis2

[Dhis2-devs] [Bug 1608644] Re: DHIS2 Tracker API Not inserting Relationships

2016-08-03 Thread Morten Olav Hansen
Yes, sorry.. I left out the relationship part, hope you will get it working now closing this bug ** Changed in: dhis2 Status: New => Invalid -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1

Re: [Dhis2-devs] [Bug 1608644] Re: DHIS2 Tracker API Not inserting Relationships

2016-08-03 Thread generale
Hi Morten, This explains why the payload was not working, the earlier json syntax you sent to me did not have relationship: "UID" part. I will use the new one sent so this is not a bug. rgds David On 3 Aug 2016 13:10, "Morten Olav Hansen" <1608...@bugs.launchpad.net> wrote: > Hi > > Sorry, the AP

[Dhis2-devs] [Bug 1608644] Re: DHIS2 Tracker API Not inserting Relationships

2016-08-03 Thread Morten Olav Hansen
Hi Sorry, the API is not very clear here. What you need to do, is to reference a relation ship type using the "relationship" property, if you don't have any relationship types in the system, they can be created through /api/relationshipTypes So the full payload should be something like this: { t