Changes between Version 75 and Version 76 of S3/S3XML


Ignore:
Timestamp:
10/19/14 19:25:44 (7 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3XML

    v75 v76  
    443443
    444444== JSON Format ==
    445 
     445To create new resources PUT to http://host.domain/eden/module/resource.s3json
     446
     447Example of creating a Disease Case:
     448{
     449"$_disease_case":[{"case_number":"gtqweqwegg",
     450                   "$k_disease_id":{"@resource":"disease_disease","@tuid":"Ebola"},
     451                   "monitoring_level":{"@value":"MONITORING"},
     452                   "illness_status":{"@value":"DECEASED"},
     453                   "diagnosis_status":{"@value":"RISK"},
     454                   "$k_person_id":{"@resource":"pr_person","@tuid":"Jabba Hutt"}
     455                   }],
     456"$_pr_person":[{"@tuid":"Jabba Hutt",
     457                "first_name":"Jabba",
     458                "last_name":"Hutt"
     459                }],
     460"$_disease_disease":[{"@tuid":"Ebola",
     461                      "name":"Ebola Virus Disease"
     462                      }]
     463}
    446464== CSV Format ==
    447465