meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
api:api_intakes [2014/06/30 18:06]
Lauri Elevant [HEAD, GET]
api:api_intakes [2016/06/01 14:12] (current)
Lauri Elevant [Response example]
Line 10: Line 10:
  
 FIXME Explain the data structure further FIXME Explain the data structure further
 +
 ==== Syntax ==== ==== Syntax ====
  
Line 20: Line 21:
   Content-Type:​ application/​json   Content-Type:​ application/​json
   Content-Length:​ 1234   Content-Length:​ 1234
 +
 +==== Response example ====
 +
 +  {
 +    "​1":​ {
 +        "​name":​ "​Default intake",​
 +        "​start":​ "​0000-09-01",​
 +        "​pre":​ {
 +            "​deadline":​ null,
 +            "​info":​ null,
 +            "​mask":​ false
 +        },
 +        "​policy":​ "​Flexible",​
 +        "​deadlines":​ {
 +            "​001":​ {
 +                "​deadline":​ "​0000-05-01",​
 +                "​info":​ null
 +            }
 +        },
 +        "​decision":​ {
 +            "​policy":​ "​Advisory",​
 +            "​days":​ "​7"​
 +        },
 +        "​arrival":​ "​0000-09-01",​
 +        "​commence":​ "​0000-09-15"​
 +    }
 +  }