(Web API) Support enrollment when importing tracked entity instances

Registered by Lars Helge Øverland on 2016-03-10

When POSTing / importing tracked entity instances, add support for enrolling the instance in any number of programs.

{
    "trackedEntity": "tracked-entity-id",
    "orgUnit": "org-unit-id",
    "attributes": [ {
        "attribute": "attribute-id",
        "value": "attribute-value"
    } ],
    "enrollments": [ {
        "orgUnit": "ImspTQPwCqd",
        "program": "S8uo8AlvYMz",
        "dateOfEnrollment": "2013-09-17",
        "dateOfIncident": "2013-09-17"
     }, {
        "orgUnit": "ImspTQPwCqd",
        "program": "S8uo8AlvYMz",
        "dateOfEnrollment": "2013-09-17",
        "dateOfIncident": "2013-09-17"
     } ]
}

Blueprint information

Status:
Complete
Approver:
Lars Helge Øverland
Priority:
Low
Drafter:
Lars Helge Øverland
Direction:
Approved
Assignee:
Morten Olav Hansen
Definition:
New
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2.24
Started by
Morten Olav Hansen on 2016-05-27
Completed by
Morten Olav Hansen on 2016-05-30

Related branches

Sprints

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.