Create a Case API

Introduction

  • Every case is associated with a single beneficiary and a single project

  • Every case will have a Case Creator (also called a Case Owner) who is a user

  • A case can optionally have users assigned to the case as Case Workers

  • Cases documentation in the front-end

API Documentation

 

Desc: Create a case

url: /cases

method: POST

body: {

case: {

title: my title

},

custom_field_categories_definition: {

field_id: value,

121: true,

71: My case

},

case_owner_id: 654,

case_worker_ids: [231,422,322],

project_id: 123,

beneficiary_id: 321,

}

response example: default response example (single record)