API V2.0: Difference between revisions

Jump to navigation Jump to search
Line 38: Line 38:


  '''''Example: add a new info item to a booking:'''''
  '''''Example: add a new info item to a booking:'''''
  {
  [
    "id": {bookingId},
    {
    "infoItems": [
        "id": {bookingId
        {
        },
            "code": "this will create",
        "infoItems": [
            "text": "a new info item"
            {
         }
                "code": "this will create",
     ]
                "text": "a new info item"
  }
            }
         ]
     }
  ]


'''To update an existing subitem, include the subitem's id.'''
'''To update an existing subitem, include the subitem's id.'''